« Return to Thread: Setting pulse not to grab a particular sound device

Re: Setting pulse not to grab a particular sound device

by Patrick Shirkey :: Rate this Message:

Reply to Author | View in Thread


On 06/17/2009 06:57 AM, Lennart Poettering wrote:
On Wed, 17.06.09 07:35, Ng Oon-Ee (ngoonee@...) wrote:

  
Hi Lennart,

Would there be a script-based alternative to the pavucontrol method,
then? Or is Jack2 'it' in that sense?
    

pactl set-card-profile foo off

  
As I have previously mentioned on the pulse list, the reason I turn off
hotplug through HAL is so I can, through scripts, define whether I want
PA accessing my sound card or my jack server (via
module-jack-sink/source). I admit to a lack of understanding on the
specifics of the new JACK2 device reservation, as well as the dbus
hoo-ha surrounding it, but it seems to me that the general effect would
be to suspend PA totally when JACK2 starts and resume it when JACK2
finishes. Is this understanding correct?
    

The device reservation logic is (as the name suggests...) per
device. i.e. only the device jack asks for will be released. And when
JACK goes away PA will again take posession of it. While the device is
taken by jack it is marked 'suspended' in PA.

And what I was proposing at the beginning of that other thread is that
if Jack takes a service name on the bus PA could watch for it and load
the connectivity modules automatically, providing some ports in jack
that folks can connect if they wish.

  


I missed this initial post.

IMO, this is the final step in the fundamental logic required to have jack and pa work together nicely.

>From there on it would be a matter of enough people testing the system to fine tune the stability.

My machine is now fully updated with fedora 11 so I will be very happy to assist with testing this proposed solution.

Please let me know what I can do to help.



Cheers.


Patrick Shirkey
Boost Hardware Ltd



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

 « Return to Thread: Setting pulse not to grab a particular sound device