Page 1 of 1
Use Alsa + Jack instead of Pulseaudio
Posted: Mon Jan 11, 2016 7:29 pm
by asbak
Pulseaudio's OK for consumer / multimedia purposes but it's not ideal to have around when using jack, even though it is possible to redirect Pulse to jack. It's a bit CPU inefficient and there's some latency.
A workaround is to use Alsa instead. The problem is that Alsa grabs the existing audiodevice and locks additional applications out unless measures are taken to circumvent this. One way is to use a loopback device ie a virtual audiocard and to then redirect audio to and from it, and eventually back to or from alsa using *alsa_out and *alsa_in plugins.
Re: Use Alsa + Jack instead of Pulseaudio
Posted: Wed Jan 20, 2016 10:38 am
by Bree
Thank-you for posting this:) You mentioned this is not ideal with Jackdbus. I have UbuntuStudio 14.04 installed, Jackdbus is enabled, and use some of the packages from the KX Repos -- especially Carla. Does this mean I need to reconfigure the system, and if so ... how is that done?
Re: Use Alsa + Jack instead of Pulseaudio
Posted: Wed Jan 20, 2016 1:44 pm
by asbak
I think KXStudio / Cadence may already have some mechanism which does something similar, I don't know for sure. So there may be some reconfiguring involved on such a system which isn't covered in my original post.
Applying this procedure to a 'Linux Audio Production distro' may cause issues unless you understand how that distro works and make the necessary changes or use the components in a suitable way. What those may be, I don't know. You'd have to experiment or ask for support from the suppliers.
This howto applies more to 'vanilla' Linux distributions. It will work on KXStudio as long as one understands how to reconfigure things if and where necessary. And that's not something covered in the original post.
Re: Use Alsa + Jack instead of Pulseaudio
Posted: Thu Jan 21, 2016 6:51 am
by Bree
Thank-you for the quick response:) I'm glad I didn't jump the gun. Guess I have some homework in store:)