Using the following guide I have managed to configure my system (Ubuntu
10.04) so that jack restarts PulseAudio so that sound from PulseAudio
clients is routed through jack.  It works marvellously.

See http://sync-signal.com/2009/12/configuring-jack-and-pulseaudio-on-
ubuntu-9-10/

In summary:

1. Install pulseaudio-module-jack
2. Copy the default.pa configuration file and edit the new version to only load 
the two jack modules
3. Configure client.conf so that pulse audio does not automatically restart
4. Update the jack startup/shutdown commands to kill PulseAudio and restart it 
with the custom PulseAudio configuration file

These are the four commands I used in the jack configuration dialogue:-

Execute script on Startup:     pulseaudio -k
Execute script after Startup:  pulseaudio -DnF ~/.pulse/pulsejack.pa
Execute script on Shutdown:    pulseaudio -k
Execute script after Shutdown: killall jackd; pulseaudio --start

(This differs slightly from the guide, due to 'pulse-session' not
existing, so I replaced it with 'pulseaudio --start')

Now we have a working solution, we need to determine how we can get
Ubuntu to work like this out of the box.

1. pulseaudio-module-jack could be marked as a recommended dependency of jackd.
2. A default pulse-jack configuration file could be included somewhere on the 
system
3. This is the tricky part, as I don't think disabling PulseAudio's 
auto-restart feature will be a suitable option.
4. Change the default jack startup/shutdown settings (the default settings are 
invalid anyway, as it attempts to run 'artsshell' which is not installed and so 
leaves an error in the message log).

So please report back if this solution works, and please also let us
know if you think of a better solution than disabling the auto-restart
feature of PulseAudio.  Then lets see if we can find a suitable proposal
for getting this to work out of the box!

-- 
Pulseaudio not working while jackd is running
https://bugs.launchpad.net/bugs/480103
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to