summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-04-12 21:17:11 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-04-12 21:17:11 +0200
commita010fc1632d84921b4d6e37e5dac00ed6252f264 (patch)
tree5216aa7211ab9648108390ae3e3968882cf850b5
parent8b9596271cec6a843ab85e01d35fba26fef90742 (diff)
Reinstate semaphores on jack output engine.
-rw-r--r--drumgizmo/output/jackaudio/jackaudio.cc4
1 files changed, 2 insertions, 2 deletions
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()