« Return to Thread: jack with pulseaudio

Re: jack with pulseaudio

by Patrick Shirkey :: Rate this Message:

Reply to Author | View in Thread


Patrick Shirkey
Boost Hardware Ltd


On 05/28/2009 03:22 AM, Stéphane Letz wrote:

>
> Le 27 mai 09 à 20:10, Patrick Shirkey a écrit :
>
>> Hi,
>>
>> I have been researching the issues with pulse and jack working
>> together seamlessly.
>>
>> I have found some interesting info and am happy to see that jackdbus
>> already has support for notifying pulseaudio to suspend itself and
>> allow jack to access the default sound card or assigned device.
>
>
> This is not "jackdbus" by itself, but the fact that the ALSA JACK
> backend now uses some D-Bus based "reservation" code (defined by
> PulseAudio developers). When the ALSA JACK backend starts, it ask for
> the card and PA has to release it. When the ALSA driver stops, it
> gives back the card.
>
> So yes this reservation code is activated when JACK2 in compiled with
> D-Bus, but it is not coded in the "jackdbus" executable.
>
>>
>> I have also been informed that there is a useful set of api functions
>> in pulseaudio that can be called directly to suspend PA, unload a
>> sink/source and load a new sink/source. I am wondering if there is
>> any specific reason other than no one having bothered to do it, that
>> this has not been included as a compile time option for jack
>
> Please be more specific on what could be done.
>

Basically I'm thinking of adding a couple of calls to remove the
existing pulse sink/source modules and insert jack sink/source modules
when started and vice versa if jack is stopped.

It would mean anyone wanting to keep pulseaudio alive and streaming
while jack is running wouldn't have to jump through hoops, run shell
scripts or setup any pa config files.



--
Patrick Shirkey
Boost Hardware Ltd.

_______________________________________________
Jack-Devel mailing list
Jack-Devel@...
http://lists.jackaudio.org/listinfo.cgi/jack-devel-jackaudio.org

 « Return to Thread: jack with pulseaudio