default.pa: Load switch-on-port-available before udev-detect

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>
This commit is contained in:
David Henningsson 2013-04-16 13:09:38 +02:00
parent fe73f47828
commit d389e7d37c

View file

@ -44,6 +44,9 @@ load-module module-card-restore
### stored in /usr/share/application ### stored in /usr/share/application
load-module module-augment-properties 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 ### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead ### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically) ### use module-udev-detect -- see below -- for doing this automatically)
@ -193,8 +196,6 @@ ifelse(@HAVE_X11@, 1, [dnl
#.endif #.endif
])dnl ])dnl
load-module module-switch-on-port-available
### Make some devices default ### Make some devices default
#set-default-sink output #set-default-sink output
#set-default-source input #set-default-source input