From a010fc1632d84921b4d6e37e5dac00ed6252f264 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 12 Apr 2014 21:17:11 +0200 Subject: Reinstate semaphores on jack output engine. --- drumgizmo/output/jackaudio/jackaudio.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drumgizmo/output/jackaudio') diff --git a/drumgizmo/output/jackaudio/jackaudio.cc b/drumgizmo/output/jackaudio/jackaudio.cc index 150c114..2afe1ea 100644 --- a/drumgizmo/output/jackaudio/jackaudio.cc +++ b/drumgizmo/output/jackaudio/jackaudio.cc @@ -124,7 +124,7 @@ void JackAudio::run(int channel, sample_t* data, size_t size) void JackAudio::post(size_t size) { - //sem.wait(); + sem.wait(); } void JackAudio::jack_process(jack_nframes_t nframes) @@ -138,7 +138,7 @@ void JackAudio::jack_process(jack_nframes_t nframes) out[i] = channels[c][i]; } } - // sem.post(); + sem.post(); } size_t JackAudio::bufsize() -- cgit v1.2.3