[pulseaudio-discuss] Ubuntu Hardy, Pulseaudio and Jack
Lennart Poettering
lennart at poettering.net
Sat May 23 17:18:56 PDT 2009
On Sun, 24.05.09 00:57, rosea grammostola (rosea.grammostola at gmail.com) wrote:
> Ok so not running both at the same time. But how do you stop pulseaudio from
> running and restart it after you used JACK?
Newer PA and JACK versions cooperate in this way
automatically. If you fire up JACK PA will go out of the way for that
device. And after JACK is done PA takes the device back. JACK is king
and PA will comply.
In older versions you can use a tool like "pasuspender". It will
suspend PA's access to the audio devices temporarily as long as child
process is running. If you make that child process JACK you have a
neat way to make JACK and PA not fight for device access.
A more brutal way is to stop PA with "pulseaudio -k" before you run
JACK and then start PA with "pulseaudio -D" afterwards. But that
probably won't work that nicely since PA is configured to autospawn in
most cases these days -- which you can disable however by editing
client.conf.
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list