summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-12-17 20:30:01 +0100
committerLennart Poettering <lennart@poettering.net>2008-12-17 20:30:01 +0100
commitcb6a91973017160e9b10a8f86d831cbcf13bf53e (patch)
treed03ede25de728cd2c75f45385f1676f0ce680f07
parent3f20a152be5b57cb90cd4124cf60c29435cd1662 (diff)
Load module-volume-restore and module-device-restore before all other modules
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.
-rwxr-xr-xsrc/daemon/default.pa.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/daemon/default.pa.in b/src/daemon/default.pa.in
index a8318766..7de4c071 100755
--- a/src/daemon/default.pa.in
+++ b/src/daemon/default.pa.in
@@ -29,6 +29,10 @@
.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