[PATCH] switch-on-connect: add option to ignore virtual sinks/sources

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

 



On Mon, 2017-11-13 at 18:46 +0100, Georg Chini wrote:
> module-switch-on-connect would switch to any new sink, even if the sink
> was a filter or a null-sink.
> 
> This patch adds a command line option ignore_virtual to the module, which
> lets module-switch-on-connect ignore virtual sinks and sources. The flag
> is true by default because the purpose of the module is to switch to new
> hardware when it becomes available.
> ---
>  src/modules/module-switch-on-connect.c | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)

Looks good to me.

-- 
Tanu

https://www.patreon.com/tanuk


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

  Powered by Linux