Ticket #777 (new enhancement)

Opened 2 years ago

Last modified 20 months ago

automatically load module-jack-sink and module-jack-source after DBUS notification

Reported by: adi Owned by: lennart
Milestone: Component: daemon
Keywords: Cc: hhielscher@…

Description

Hi!

I just tried the jackdbus device reservation feature, and it works like a charm. pulseaudio is running, then I call jack_control start, the device is handed over and jackd starts.

The missing bit is now loading module-jack-sink and module-jack-source.

We could hack a call to pactl load-module into jackdbus, on the other hand, jackdbus emits a DBUS signal, so pulseaudio might just react on this.

http://nedko.arnaudov.name/soft/jack/jackdbus.xml

The signal is called ServerStarted? and is emitted by the org.jackaudio.JackControl? interface of the org/jackaudio/Controller object. (quoting nedko here, I don't have any clue about DBUS)

Perhaps checking the IsStarted?() method at PA startup to hook into running jackds when pulseaudio wasn't started before would also be a good idea, but that's another question.

If you think we should handle it in jackdbus, just tell us. You surely know what's the best way to auto-load PA's jack modules.

Cheerio

Change History

Changed 2 years ago by adi

This is somewhat related to #737.

Changed 20 months ago by hhielscher

  • cc hhielscher@… added
Note: See TracTickets for help on using tickets.