diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/state.c | 5 | ||||
-rw-r--r-- | src/worker.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/state.c b/src/state.c index ea13007..e738ef5 100644 --- a/src/state.c +++ b/src/state.c @@ -189,7 +189,10 @@ jalv_apply_preset(Jalv* jalv, const LilvNode* preset) } int -jalv_save_preset(Jalv* jalv, const char* dir, const char* uri, const char* label) +jalv_save_preset(Jalv* jalv, + const char* dir, + const char* uri, + const char* label) { LilvState* const state = lilv_state_new_from_instance( jalv->plugin, jalv->instance, &jalv->map, diff --git a/src/worker.c b/src/worker.c index 550e594..51640e8 100644 --- a/src/worker.c +++ b/src/worker.c @@ -22,7 +22,8 @@ jalv_worker_respond(LV2_Worker_Respond_Handle handle, const void* data) { Jalv* jalv = (Jalv*)handle; - jack_ringbuffer_write(jalv->worker.responses, (const char*)&size, sizeof(size)); + jack_ringbuffer_write(jalv->worker.responses, + (const char*)&size, sizeof(size)); jack_ringbuffer_write(jalv->worker.responses, data, size); return LV2_WORKER_SUCCESS; } @@ -82,7 +83,8 @@ jalv_worker_schedule(LV2_Worker_Schedule_Handle handle, const void* data) { Jalv* jalv = (Jalv*)handle; - jack_ringbuffer_write(jalv->worker.requests, (const char*)&size, sizeof(size)); + jack_ringbuffer_write(jalv->worker.requests, + (const char*)&size, sizeof(size)); jack_ringbuffer_write(jalv->worker.requests, data, size); zix_sem_post(&jalv->worker.sem); return LV2_WORKER_SUCCESS; @@ -105,6 +107,5 @@ jalv_worker_emit_responses(Jalv* jalv, JalvWorker* worker) read_space -= sizeof(size) + size; } - } } |