diff options
author | David Runge <david.runge@frqrec.com> | 2013-12-10 12:14:26 +0100 |
---|---|---|
committer | David Runge <david.runge@frqrec.com> | 2013-12-10 12:14:26 +0100 |
commit | e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c (patch) | |
tree | e3e8406003165647f9805b3515373b844459a74d /bin/start_jack | |
parent | 9e40bf449146bb2207937dd9115ecb89017875c4 (diff) | |
download | dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.gz dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.bz2 dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.tar.xz dotfiles-e2a08a9317d69e09fd82bcc2f3bb434f1af48d2c.zip |
Fixed start behavior of jack and sclang on beagle bone black, when using xvfb-run
Diffstat (limited to 'bin/start_jack')
-rwxr-xr-x | bin/start_jack | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bin/start_jack b/bin/start_jack index fd65118..351d7e3 100755 --- a/bin/start_jack +++ b/bin/start_jack @@ -1,7 +1,5 @@ #!/bin/sh -#jackd -m -p 32 -d dummy & -#jackd -r -p 32 -d dummy > .log/jackd.log 2>&1 & #jackd -P70 -p16 -t2000 -dalsa -dhw:0,0 -p128 -n3 -r44100 -s > .log/jackd.log 2>&1 & case "$HOSTNAME" in @@ -11,15 +9,16 @@ case "$HOSTNAME" in alsa_out -d hw:0 -q1 &> .log/alsa_out.log & ;; "beagleclone") - jackd -dalsa -dhw:1,0 -p128 -n3 -s &> .log/jackd.log & + /usr/bin/xvfb-run --server-args="-screen 0, 1280x800x24" jackd -dalsa -dhw:1,0 -p128 -n3 -s &> .log/jackd.log & ;; "dvzrv") + DEVICE="/dev/fw1" + if [[ -e $DEVICE && -r $DEVICE && -w $DEVICE ]]; then + echo "Setting up Motu Traveler with JACK" + else + echo "Setting up internal JACK server" + fi +# jack_control start ;; esac - - -#alsa_out -q1 2>&1 > /dev/null & -#sleep 1 -#scsynth -u 4555 & -#sleep 2 |