[PATCH 1/2] system.pa: load module-device-restore before module-udev-detect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
---
 src/daemon/system.pa.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/daemon/system.pa.in b/src/daemon/system.pa.in
index 06e3f1e..fc5019c 100755
--- a/src/daemon/system.pa.in
+++ b/src/daemon/system.pa.in
@@ -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 at 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
-- 
2.9.3



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux