On Fri, Apr 24, 2009 at 2:25 AM, Lee Revell <rlrevell(a)joe-job.com> wrote:
What about adding a pair of callbacks to the JACK API
that could be
registered with the suspend/resume system? When the system invokes
the suspend callback Jack would mute audio output then go into soft
mode, ignoring all xruns and client timeouts until further notice,
then drop RT scheduling. The resume callback re-enables RT, and a few
cycles later resumes the normal timing checks and unmutes audio when
no xruns or client timeouts have been detected for a few consecutive
cycles.
The only changes would be to jackd itself AFAICT.
this would be part of the JACK control API, and actually already
exists *on paper*.
i don't believe it has actually been implemented yet.