]> code.delx.au - pulseaudio/commitdiff
default.pa: Load switch-on-port-available before udev-detect
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 16 Apr 2013 11:09:38 +0000 (13:09 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Wed, 24 Apr 2013 05:56:01 +0000 (07:56 +0200)
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@canonical.com>
src/daemon/default.pa.in

index b4c496586cc3dd9021b5f450c85b2b32106683b5..f50d929528a78348b347f29b0225c2a5f1eb2ba0 100755 (executable)
@@ -44,6 +44,9 @@ load-module module-card-restore
 ### stored in /usr/share/application
 load-module module-augment-properties
 
+### Should be after module-*-restore but before module-*-detect
+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 +196,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