Ticket #777 (new enhancement)
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.
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
