From 6ed3a7dcc9de81469c5d35a5256e5f50bd48f804 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Sun, 3 Apr 2011 13:42:44 +0100 Subject: switch-on-connect: Add a new module to allow for hotplugged devices to be used by default. This module implements a simply policy decision that any newly plugged in devices should be used. This is a reasonable approach and paprefs will be updated to allow for this option to be turned on or off. This is more or less a stop-gap solution. When priority lists are implemented in the core, then policy modules may ultimately be re-engineered to adjust the priority lists rather than doing any of their own routing per-se. --- src/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index bdeddedd..dc2a1cd6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1051,7 +1051,8 @@ modlibexec_LTLIBRARIES += \ module-cork-music-on-phone.la \ module-loopback.la \ module-virtual-sink.la \ - module-virtual-source.la + module-virtual-source.la \ + module-switch-on-connect.la # See comment at librtp.la above if !OS_IS_WIN32 @@ -1338,7 +1339,8 @@ SYMDEF_FILES = \ module-dbus-protocol-symdef.h \ module-loopback-symdef.h \ module-virtual-sink-symdef.h \ - module-virtual-source-symdef.h + module-virtual-source-symdef.h \ + module-switch-on-connect-symdef.h EXTRA_DIST += $(SYMDEF_FILES) BUILT_SOURCES += $(SYMDEF_FILES) builddirs @@ -1480,6 +1482,10 @@ module_combine_la_SOURCES = modules/module-combine.c module_combine_la_LDFLAGS = $(MODULE_LDFLAGS) module_combine_la_LIBADD = $(MODULE_LIBADD) +module_switch_on_connect_la_SOURCES = modules/module-switch-on-connect.c +module_switch_on_connect_la_LDFLAGS = $(MODULE_LDFLAGS) +module_switch_on_connect_la_LIBADD = $(MODULE_LIBADD) + module_remap_sink_la_SOURCES = modules/module-remap-sink.c module_remap_sink_la_LDFLAGS = $(MODULE_LDFLAGS) module_remap_sink_la_LIBADD = $(MODULE_LIBADD) -- cgit