[pulseaudio-discuss] [PATCH 2/3] module-port-manager: Add new port manager module

Alexander E. Patrakov patrakov at gmail.com
Wed Mar 11 11:09:46 PDT 2015

11.03.2015 21:58, Alexander E. Patrakov wrote:
> 11.03.2015 21:18, Alexander E. Patrakov wrote:
>> 11.03.2015 00:42, Alexander E. Patrakov wrote:
>>> So it may be a good idea to retest the new module without
>>> module-stream-restore. I will do that tomorrow.
>> Done. Result: it moves the streams from mpv (including active ones)
>> between headphones and HDMI, approximately as expected. So I suggest
>> either adding a patch to the series that prohibits module-stream-restore
>> from restoring the device, or adding an explicit "follow the default
>> sink" target for moving playback streams to.
>> And VLC does its own selection of playback device, so the module has no
>> effect on it.
> One more annoyance found.
> To support the "use HDMI if the TV is on" logic, I have made the HDMI
> sink the default. However, this has an unfortunate side effect: now MATE
> volume control applet controls HDMI volume. I would like it to control
> the volume of my headphones if HDMI is not available, but, to do so, I
> would need to make the analog output the default - which breaks the
> "prefer HDMI" logic.
> So I am not sure whether I like the idea of reading the user's mind
> about port priorities from his actions.

Ugh. Removing module-stream-restore also means that any moved Wine 
stream will be reset to the default device if the game for some reason 
(e.g. underrun) closes and reopens its audio device.

Alexander E. Patrakov

More information about the pulseaudio-discuss mailing list