File: feedjack-launchjack.bin

package info (click to toggle)
jacktrip 1.7.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,728 kB
  • sloc: cpp: 31,952; sh: 794; makefile: 121; xml: 24; 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