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

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

 



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


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

  Powered by Linux