aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 0224651..11bf05e 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -55,12 +55,14 @@ typedef struct Jalv Jalv;
typedef enum { JALV_RUNNING, JALV_PAUSE_REQUESTED, JALV_PAUSED } JalvPlayState;
typedef struct {
- Jalv* jalv; ///< Pointer back to Jalv
ZixRing* requests; ///< Requests to the worker
ZixRing* responses; ///< Responses from the worker
void* response; ///< Worker response buffer
+ ZixSem* lock; ///< Lock for plugin work() method
+ bool* exit; ///< Pointer to exit flag
ZixSem sem; ///< Worker semaphore
ZixThread thread; ///< Worker thread
+ LV2_Handle handle; ///< Plugin handle
const LV2_Worker_Interface* iface; ///< Plugin worker interface
bool threaded; ///< Run work in another thread
} JalvWorker;