diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-11-03 03:57:07 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-11-03 03:57:07 +0100 |
| commit | ee65e0cb2d745dd30cf13b00fe6662b1d2d53130 (patch) | |
| tree | 02aef4e61049b32c60950b3cf43be4d19e6571a3 /sndfile.lua | |
| parent | 78b5500e849e8f5aa923de7c37b6ef52d4b46d23 (diff) | |
| download | applause2-ee65e0cb2d745dd30cf13b00fe6662b1d2d53130.tar.gz | |
synchronize buffer access via System V semaphore
* allows the Lua thread to block when the ringbuffer is full
while keeping the realtime thread (jack_process()) realtime-safe.
Hopefully :-)
* since audio generation is usually faster than consumption
(if you don't want to have buffer underruns),
this fixes audio generation longer than BUFFER_SIZE (currently 1s)
Diffstat (limited to 'sndfile.lua')
0 files changed, 0 insertions, 0 deletions
