File: feedjack-launchjack.bin

package info (click to toggle)
jacktrip 2.7.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,788 kB
  • sloc: cpp: 44,373; sh: 965; makefile: 152; ansic: 32; ruby: 20; python: 15
file content (32 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash

echo Checking whether system sound input is MOTU...
audiodevice input 2> /dev/null | grep MOTU
if [ $? -eq 0 ]
then
    echo Yay found MOTU input!
else
    echo System sound input is not MOTU:
    audiodevice input 2> /dev/null 
    echo Attempting to set to MOTU:
    system-sound-to-motu
    echo Now try again...
    exit 1
fi

echo Checking whether system sound output is MOTU...
audiodevice output 2> /dev/null | grep MOTU
if [ $? -eq 0 ]
then
    echo Yay found MOTU output!
else
    echo System sound output is not MOTU:
    audiodevice output 2> /dev/null 
    echo Attempting to set to MOTU:
    system-sound-to-motu
    echo Now try again...
    exit 2
fi


feedjack-launchjack-even-without-motu