[LAD] JACK latency API clarifications
zanga.mail at gmail.com
Fri Feb 21 14:38:01 UTC 2014
Sorry guys, other two (silly?) questions:
1. apart from the process callback, which callbacks need to be
RT-safe? Looking around I found a master thesis  that says: "Apart
the JackProcessCallback callback, which is called in the realtime
audio thread for obvious reasons, all other callbacks are called
asynchronously in a specialized non-realtime thread, to avoid
notifications to interfere with audio processing", is that true?
2. may the system sample rate actually change (while a client is running)?
2014-02-21 1:08 GMT+02:00 Stefano D'Angelo <zanga.mail at gmail.com>:
> 2014-02-21 1:08 GMT+02:00 Paul Davis <paul at linuxaudiosystems.com>:
>> On Thu, Feb 20, 2014 at 6:05 PM, Stefano D'Angelo <zanga.mail at gmail.com>
>>> > reset your port latencies.
>>> Ok, thanks (to Robin too). Can jack_recompute_total_latenices() be
>>> called from within the process callback too?
>> you cannot contact the server from with the process callback, so no.
>> and yes, it is NOT documented which JACK API calls do this.
> Ok, thanks a lot.
More information about the Linux-audio-dev