<br><br><div class="gmail_quote">On Sun, May 24, 2009 at 1:18 AM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net">lennart@poettering.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Sun, 24.05.09 00:57, rosea grammostola (<a href="mailto:rosea.grammostola@gmail.com">rosea.grammostola@gmail.com</a>) wrote:<br>
<br>
> Ok so not running both at the same time. But how do you stop pulseaudio from<br>
> running and restart it after you used JACK?<br>
<br>
</div>Newer PA and JACK versions cooperate in this way<br>
automatically. If you fire up JACK PA will go out of the way for that<br>
device. And after JACK is done PA takes the device back. JACK is king<br>
and PA will comply.<br>
<br>
In older versions you can use a tool like "pasuspender". It will<br>
suspend PA's access to the audio devices temporarily as long as child<br>
process is running. If you make that child process JACK you have a<br>
neat way to make JACK and PA not fight for device access.<br>
<br>
A more brutal way is to stop PA with "pulseaudio -k" before you run<br>
JACK and then start PA with "pulseaudio -D" afterwards. But that<br>
probably won't work that nicely since PA is configured to autospawn in<br>
most cases these days -- which you can disable however by editing<br>
client.conf.<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote></div><br>Ok I start qjackctl or jackd with<br><br>pasuspender qjackctl<br><br><br><br>BTW in Debian you have the package: pulseaudio-module-jack<br><a href="http://packages.debian.org/nl/lenny/pulseaudio-module-jack">http://packages.debian.org/nl/lenny/pulseaudio-module-jack</a><br>
<br>What is the aim of that package and how to use it (Ubuntu doesn t seems to have that package)?<br><br>\r<br>