Load module-volume-restore and module-device-restore before all other modules
authorLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 19:30:01 +0000 (20:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Dec 2008 19:30:01 +0000 (20:30 +0100)
Since m-v-r and m-d-r become active in the FIXATE hooks for
stream/device creation we need to make sure the modules are loaded
before the first devices/streams are created.

src/daemon/default.pa.in

index a831876..7de4c07 100755 (executable)
 
 .fail
 
+### Automatically restore the volume of streams and devices
+load-module module-device-restore
+load-module module-stream-restore
+
 ### Load audio drivers statically (it's probably better to not load
 ### these drivers manually, but instead use module-hal-detect --
 ### see below -- for doing this automatically)
@@ -75,10 +79,6 @@ load-module module-native-protocol-unix
 ### Enable flat volumes where possible
 load-module module-flat-volume
 
-### Automatically restore the volume of streams and devices
-load-module module-device-restore
-load-module module-stream-restore
-
 ### Automatically restore the default sink/source when changed by the user during runtime
 load-module module-default-device-restore