@@ -118,7 +118,7 @@ if (IsPulseAudioRunning); then | |||||
} | } | ||||
else | else | ||||
{ | { | ||||
if (`pulseaudio --daemonize --high-priority --realtime --disallow-module-loading --exit-idle-time=-1 --file=$FILE -n`); then | |||||
if (`pulseaudio --daemonize --high-priority --realtime --exit-idle-time=-1 --file=$FILE -n`); then | |||||
echo "Initiated PulseAudio successfully!" | echo "Initiated PulseAudio successfully!" | ||||
else | else | ||||
echo "Failed to initialize PulseAudio!" | echo "Failed to initialize PulseAudio!" | ||||
@@ -28,12 +28,18 @@ load-module module-stream-restore | |||||
load-module module-card-restore | load-module module-card-restore | ||||
### Load Jack modules | ### Load Jack modules | ||||
load-module module-jack-sink | |||||
load-module module-jack-source | load-module module-jack-source | ||||
load-module module-jack-sink | |||||
### Load unix protocol | ### Load unix protocol | ||||
load-module module-native-protocol-unix | load-module module-native-protocol-unix | ||||
### 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 | |||||
### that look up the default sink/source get the right value | |||||
load-module module-default-device-restore | |||||
### Automatically move streams to the default sink if the sink they are | ### Automatically move streams to the default sink if the sink they are | ||||
### connected to dies, similar for sources | ### connected to dies, similar for sources | ||||
load-module module-rescue-streams | load-module module-rescue-streams | ||||
@@ -42,5 +48,5 @@ load-module module-rescue-streams | |||||
load-module module-always-sink | load-module module-always-sink | ||||
### Make Jack default | ### Make Jack default | ||||
set-default-sink jack_out | |||||
set-default-source jack_in | set-default-source jack_in | ||||
set-default-sink jack_out |
@@ -29,11 +29,16 @@ load-module module-card-restore | |||||
### Load Jack modules | ### Load Jack modules | ||||
load-module module-jack-sink | load-module module-jack-sink | ||||
# load-module module-jack-source | |||||
### Load unix protocol | ### Load unix protocol | ||||
load-module module-native-protocol-unix | load-module module-native-protocol-unix | ||||
### 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 | |||||
### that look up the default sink/source get the right value | |||||
load-module module-default-device-restore | |||||
### Automatically move streams to the default sink if the sink they are | ### Automatically move streams to the default sink if the sink they are | ||||
### connected to dies, similar for sources | ### connected to dies, similar for sources | ||||
load-module module-rescue-streams | load-module module-rescue-streams | ||||
@@ -43,4 +48,3 @@ load-module module-always-sink | |||||
### Make Jack default | ### Make Jack default | ||||
set-default-sink jack_out | set-default-sink jack_out | ||||
# set-default-source jack_in |
@@ -30,6 +30,12 @@ load-module module-card-restore | |||||
### Load unix protocol | ### Load unix protocol | ||||
load-module module-native-protocol-unix | load-module module-native-protocol-unix | ||||
### 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 | |||||
### that look up the default sink/source get the right value | |||||
load-module module-default-device-restore | |||||
### Automatically move streams to the default sink if the sink they are | ### Automatically move streams to the default sink if the sink they are | ||||
### connected to dies, similar for sources | ### connected to dies, similar for sources | ||||
load-module module-rescue-streams | load-module module-rescue-streams | ||||
@@ -30,6 +30,12 @@ load-module module-card-restore | |||||
### Load unix protocol | ### Load unix protocol | ||||
load-module module-native-protocol-unix | load-module module-native-protocol-unix | ||||
### 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 | |||||
### that look up the default sink/source get the right value | |||||
load-module module-default-device-restore | |||||
### Automatically move streams to the default sink if the sink they are | ### Automatically move streams to the default sink if the sink they are | ||||
### connected to dies, similar for sources | ### connected to dies, similar for sources | ||||
load-module module-rescue-streams | load-module module-rescue-streams | ||||