diff options
author | David Robillard <d@drobilla.net> | 2022-05-27 13:37:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-27 13:40:33 -0400 |
commit | d22bd43dd053b060dfce40285cd968602efbce78 (patch) | |
tree | 968e688788a4da06c97cbb1bf276eaf8a1760ac6 /src/jalv_internal.h | |
parent | ea783414b68512c15b9523cde2bfb4f93e433d56 (diff) | |
download | jalv-d22bd43dd053b060dfce40285cd968602efbce78.tar.gz jalv-d22bd43dd053b060dfce40285cd968602efbce78.tar.bz2 jalv-d22bd43dd053b060dfce40285cd968602efbce78.zip |
Use consistent comment styles
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r-- | src/jalv_internal.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h index 4a710d7..33e214f 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -1,5 +1,5 @@ /* - Copyright 2007-2016 David Robillard <d@drobilla.net> + Copyright 2007-2022 David Robillard <d@drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -94,9 +94,9 @@ struct Port { float control; ///< For control ports, otherwise 0.0f }; -/* Controls */ +// Controls -/** Type of plugin control. */ +/// Type of plugin control typedef enum { PORT, ///< Control port PROPERTY ///< Property (set via atom message) @@ -107,11 +107,11 @@ typedef struct { char* label; } ScalePoint; -/** Order scale points by value. */ +/// Order scale points by value int scale_point_cmp(const ScalePoint* a, const ScalePoint* b); -/** Plugin control. */ +/// Plugin control typedef struct { Jalv* jalv; ControlType type; @@ -153,9 +153,7 @@ add_control(Controls* controls, ControlID* control); ControlID* get_property_control(const Controls* controls, LV2_URID property); -/** - Control change event, sent through ring buffers for UI updates. -*/ +/// Control change event, sent through ring buffers for UI updates typedef struct { uint32_t index; uint32_t protocol; @@ -370,7 +368,7 @@ jalv_backend_deactivate(Jalv* jalv); void jalv_backend_close(Jalv* jalv); -/** Expose a port to the system (if applicable) and connect it to its buffer. */ +/// Expose a port to the system (if applicable) and connect it to its buffer void jalv_backend_activate_port(Jalv* jalv, uint32_t port_index); |