Re: [Jack-Devel] Jack server keeps playing sound after client disconnetcs

PrevNext  Index
DateMon, 28 Aug 2017 19:19:01 -0500
From Chris Caudle <[hidden] at chriscaudle dot org>
To[hidden] at lists dot jackaudio dot org
In-Reply-ToYuri Re: [Jack-Devel] Jack server keeps playing sound after client disconnetcs
Follow-UpYuri Re: [Jack-Devel] Jack server keeps playing sound after client disconnetcs
On Fri, August 25, 2017 12:40 am, Yuri wrote:
> Application quits, sound keeps playing.
> The expected behavior: sound stops playing.

There is a timeout parameter you can pass to jackd to specify how long the
server waits for a slow client application.  The default is 500ms, does
that correspond to how long the audio keeps playing?
There is also a parameter which can be passed to the jackd server to
prevent the server from disconnecting slow clients.

I do not know how to check the compiled defaults to see if they have been
changed.  The default should result in a crashed application being
disconnected after half a second, you could change, for example try -t 50
to change the timeout to 50 milliseconds to see if that improves the
behavior.
There is also a -v option to cause more verbose messages, could help
determine what the jackd server detects the application state at the time
of stopping.

-- 
Chris Caudle
PrevNext  Index

1503965956.30562_0.ltw:2, <ef014293ae79bd07f0c79d3b6fa0ba84.squirrel at email dot powweb dot com>