How to automatically switch to JACK sink when using module-jackdbus-detect/module-jack-sink?
This might be a feature request or maybe more of a question, depending on the answer. Hope that's OK.
module-jackdbus-detect which when starting JACK automatically adds the JACK sink (
module-jack-sink) and source (
module-jack-source) and connects my sound card's in and outputs to the aforementioned JACK sink and source. This part works perfectly.
The only thing missing for a completely automatic switch is that pulseaudio doesn't automatically switch the default sink to the JACK sink. I think this could/should(?) work by giving the JACK sink a higher priority but oddly enough the JACK sink has no priority at all.
Sink #2 State: RUNNING Name: jack_out Description: Jack sink (PulseAudio JACK Sink) Driver: module-jack-sink.c Sample Specification: float32le 2ch 44100Hz Channel Map: front-left,front-right Owner Module: 27 Mute: no Volume: front-left: 22284 / 34% / -28.11 dB, front-right: 22284 / 34% / -28.11 dB balance 0.00 Base Volume: 65536 / 100% / 0.00 dB Monitor Source: jack_out.monitor Latency: 59433 usec, configured 46439 usec Flags: DECIBEL_VOLUME LATENCY Properties: device.api = "jack" device.description = "Jack sink (PulseAudio JACK Sink)" jack.client_name = "PulseAudio JACK Sink" device.icon_name = "audio-card" Formats: pcm
I guess there's no priority because priority is a port property and the JACK sink doesn't have ports?
If priority isn't the correct way to address this what would be the correct way to have pulseaudio automatically switch to the JACK sink when JACK is started/
module-jack-sink is loaded?
And if there's currently no proper way to do this could a way to allow this be added/