[LAD] JACK session API in Perl, Python, Ruby, and Lua
Ed Sweeney
ed at onextent.com
Wed Mar 28 17:47:26 UTC 2012
On 03/28/12 10:45, David Robillard wrote:
> [...]
>> Emanuel, thx for the suggestion. The job of that mutex is to block the
>> callback until the user code has run, _trylock wouldn't do that.
>
> "Block the callback" = "Cause a dropout"
>
> Don't do that.
>
> The standard solution if you need to process audio with
> non-realtime-safe code is to ringbuffer the data to/from the process
> callback.
>
> -dr
gotcha, thanks david. looking at ringbuffer now.
--
Ed Sweeney, http://www.onextent.com, Los Gatos CA
More information about the Linux-audio-dev
mailing list