File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ if [ "$var" = "$var2" ]
1414 else
1515 if [ " $var2 " = " $var3 " ]
1616 then
17- sleep 1
1817 alsaloop -P hw:0,0 -C hw:1,0 -t 200000 -A 5 --rate 44100 --sync=0 -T -1 -d
1918 # if midi is connected it will push the M8 to id #2 so one of these will succeed.
2019 alsaloop -P hw:0,0 -C hw:2,0 -t 200000 -A 5 --rate 44100 --sync=0 -T -1 -d
2120 var3=$( ps aux| grep [a]lsaloop| grep -v alsaloop_wait)
21+ sleep 1
22+ else
23+ sleep 2
2224fi
2325fi
2426
Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ if [ "$var" = "$var2" ]
1414 else
1515 if [ " $var2 " = " $var3 " ]
1616 then
17- sleep 1
1817 sudo pulseaudio --start --file=pulseaudio_config.pa
1918 var3=$( ps aux| grep [p]ulseaudio_config)
19+ sleep 1
20+ else
21+ sleep 2
2022fi
2123fi
2224
You can’t perform that action at this time.
0 commit comments