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

Tanu Kaskinen tanuk at iki.fi
Thu Nov 30 17:52:43 UTC 2017


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


More information about the pulseaudio-discuss mailing list