diff options
-rw-r--r-- | src/jalv.c | 2 | ||||
-rw-r--r-- | src/jalv_internal.h | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -434,7 +434,7 @@ jack_process_cb(jack_nframes_t nframes, void* data) while (read_space) { uint32_t size = 0; jack_ringbuffer_read(host->worker.responses, (char*)&size, sizeof(size)); - + jack_ringbuffer_read( host->worker.responses, host->worker.response, size); diff --git a/src/jalv_internal.h b/src/jalv_internal.h index c54c987..50e15e2 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -98,7 +98,7 @@ typedef struct { LV2_URID time_frame; LV2_URID time_speed; } JalvURIDs; - + typedef enum { JALV_RUNNING, JALV_PAUSE_REQUESTED, @@ -113,7 +113,7 @@ typedef struct { ZixThread thread; ///< Worker thread const LV2_Worker_Interface* iface; ///< Plugin worker interface } JalvWorker; - + typedef struct { JalvOptions opts; ///< Command-line options JalvURIDs urids; ///< URIDs @@ -159,7 +159,7 @@ typedef struct { LilvNode* work_schedule; ///< lv2:connectionOptional port property uint32_t midi_event_id; ///< MIDI event class ID in event context bool buf_size_set; ///< True iff buffer size callback fired - bool exit; ///< True if execution is finished + bool exit; ///< True if execution is finished } Jalv; int |