[pulseaudio-discuss] How to change the sink's priority in PulseAudio?
arun at accosted.net
Sun Jan 17 20:45:04 PST 2016
On 16 January 2016 at 22:42, Michal Suchanek <hramrach at gmail.com> wrote:
> On 15 January 2016 at 18:28, Лежанкин Иван <abyss.7 at gmail.com> wrote:
>> I wonder on how to set the sink's priority in PulseAudio. I want some
>> devices to override others when they get connected. But the source code
>> inspection shows that the priority is calculated by hardcoded heuristics and
>> can't be modified from outside (cli, dbus, ...). Is it true, or do I miss
> There does not seem to be any setting for this.
> Also even when the priority is higher existing streams are not going
> to be redirected. You either have to restart the application or use
> some pulseaudio foo to redirect the stream by hand.
> So in the end you probably want the scripts that switch playback
> between different sinks manually regardless of priority
You can look at module-device-manager which does have a way to
maintain per-device and per-role priorities for devices, and route
based on this.
More information about the pulseaudio-discuss