[pulseaudio-discuss] [PATCH 1/3] default.pa: Load switch-on-port-available before udev-detect
David Henningsson
david.henningsson at canonical.com
Tue Apr 16 07:44:06 PDT 2013
We need to pick the right port as early as possible, before the
first volume is picked up. Hence this module needs to be loaded
before the sound card modules are loaded.
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
src/daemon/default.pa.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
index b4c4965..e61a41f 100755
--- a/src/daemon/default.pa.in
+++ b/src/daemon/default.pa.in
@@ -44,6 +44,8 @@ load-module module-card-restore
### stored in /usr/share/application
load-module module-augment-properties
+load-module module-switch-on-port-available
+
### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
@@ -193,8 +195,6 @@ ifelse(@HAVE_X11@, 1, [dnl
#.endif
])dnl
-load-module module-switch-on-port-available
-
### Make some devices default
#set-default-sink output
#set-default-source input
--
1.8.1.2
More information about the pulseaudio-discuss
mailing list