summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-12-17 20:30:01 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-12 20:25:45 +0100
commita9131ff2caae83707483feb1d0c9b54367d5d970 (patch)
tree51e35bd79fd4ff0d67a27ec30a8be3918ecb0e95 /src
parent6f4d8bc2b44007867b8fb345eaf5dbd6ba36ab6d (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.
Diffstat (limited to 'src')
-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 7032038d..517f2c99 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)
@@ -72,10 +76,6 @@ load-module module-native-protocol-unix
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 description="RTP Multicast Sink"
#load-module module-rtp-send source=rtp.monitor
-### 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
load-module module-default-device-restore