How to change the sink's priority in PulseAudio?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16 January 2016 at 22:42, Michal Suchanek <hramrach at gmail.com> wrote:
> Hello,
>
> On 15 January 2016 at 18:28, Ð?ежанкин Ð?ван <abyss.7 at gmail.com> wrote:
>> Hi,
>>
>> 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
>> something?
>
> 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.

-- Arun


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux