aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pulse2jack26
1 files changed, 0 insertions, 26 deletions
diff --git a/bin/pulse2jack b/bin/pulse2jack
deleted file mode 100755
index d5aa2ef..0000000
--- a/bin/pulse2jack
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-set -eu
-
-jack_module_on() {
- echo "Enabling JACK sink and source."
- /usr/bin/pacmd load-module module-jack-sink channels=2
- /usr/bin/pacmd load-module module-jack-source channels=2
- /usr/bin/pacmd set-default-sink jack_out
- /usr/bin/pacmd set-default-source jack_in
-}
-
-jack_module_off() {
- echo "Disabling JACK sink and source."
- /usr/bin/pacmd unload-module module-jack-sink
- /usr/bin/pacmd unload-module module-jack-source
-}
-
-case "$@" in
- "on")
- jack_module_on
- ;;
- "off")
- jack_module_off
- ;;
-esac