aboutsummaryrefslogtreecommitdiffstats
path: root/src/port.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-22 19:12:33 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:12:14 -0500
commit57006d3bf443f2ade18abe7021f8aa8a11b08bcb (patch)
treec61b54c1b8133e4b05f4250c1dac48a933815908 /src/port.h
parentacdbc427a6c6bb55e0073b6f6910543184f35177 (diff)
downloadjalv-57006d3bf443f2ade18abe7021f8aa8a11b08bcb.tar.gz
jalv-57006d3bf443f2ade18abe7021f8aa8a11b08bcb.tar.bz2
jalv-57006d3bf443f2ade18abe7021f8aa8a11b08bcb.zip
Cleanly separate audio thread from the rest of the application
Diffstat (limited to 'src/port.h')
-rw-r--r--src/port.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/port.h b/src/port.h
index df6e1f4..8a4644c 100644
--- a/src/port.h
+++ b/src/port.h
@@ -17,16 +17,11 @@
JALV_BEGIN_DECLS
typedef struct {
- const LilvPort* lilv_port; ///< LV2 port
- PortType type; ///< Data type
- PortFlow flow; ///< Data flow direction
- void* sys_port; ///< For audio/MIDI ports, otherwise NULL
- LV2_Evbuf* evbuf; ///< For MIDI ports, otherwise NULL
- void* widget; ///< Control widget, if applicable
- size_t buf_size; ///< Custom buffer size, or 0
- uint32_t index; ///< Port index
- bool reports_latency; ///< For control port outputs
- bool is_primary; ///< True for main control/reponse channel
+ const LilvPort* lilv_port; ///< LV2 port
+ PortType type; ///< Data type
+ PortFlow flow; ///< Data flow direction
+ void* widget; ///< Control widget, if applicable
+ uint32_t index; ///< Port index
} JalvPort;
JALV_END_DECLS