aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/connect_usb6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/connect_usb b/bin/connect_usb
new file mode 100755
index 0000000..eda2d36
--- /dev/null
+++ b/bin/connect_usb
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+alsa_out -d hw:1 -j USB &
+sleep 1 && \
+ jack_connect "PulseAudio JACK Sink:front-left" "USB:playback_1" &&
+ jack_connect "PulseAudio JACK Sink:front-right" "USB:playback_2"