mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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:
parent
fe73f47828
commit
d389e7d37c
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue