aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@debian.org>2013-07-25 08:20:26 -0400
committerRyan Kavanagh <rak@debian.org>2013-07-25 08:45:10 -0400
commitf8ba1de3db478e7e7b6efc2ddd96f1d9723be19f (patch)
tree5f0cf991c24d7c27077a9c37dfc78fa62b26c625 /bin
parentAdded a colouriser for gpg (diff)
Added my jackd connect_usb script for my USB soundcard
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"