mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
system.pa: load module-device-restore before module-udev-detect
module-device-restore doesn't restore the state of devices that already exist during the module loading, so the module has to be loaded early.
This commit is contained in:
parent
2c9a2aa01e
commit
b35b9641e3
1 changed files with 4 additions and 4 deletions
|
|
@ -19,6 +19,10 @@
|
|||
# mode.
|
||||
changequote(`[', `]')dnl Set up m4 quoting
|
||||
|
||||
### Automatically restore the volume of streams and devices
|
||||
load-module module-device-restore
|
||||
load-module module-stream-restore
|
||||
|
||||
### Automatically load driver modules depending on the hardware available
|
||||
ifelse(@HAVE_UDEV@, 1, [dnl
|
||||
.ifexists module-udev-detect@PA_SOEXT@
|
||||
|
|
@ -45,10 +49,6 @@ load-module module-esound-protocol-unix
|
|||
.endif
|
||||
load-module module-native-protocol-unix
|
||||
|
||||
### Automatically restore the volume of streams and devices
|
||||
load-module module-stream-restore
|
||||
load-module module-device-restore
|
||||
|
||||
### Automatically restore the default sink/source when changed by the user
|
||||
### during runtime
|
||||
### NOTE: This should be loaded as early as possible so that subsequent modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue