added grep for Loopback fora play

pull/128/head
alanbjohnston 5 years ago committed by GitHub
parent cf42fa4043
commit a4d520da08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,5 +33,9 @@ qsstv &
sleep 5
rtl_fm -M fm -f 145.8M -s 48k | aplay -D hw:2,0,0 -r 48000 -t raw -f S16_LE -c 1
value=`aplay -l | grep "Loopback"`
echo "$value" > /dev/null
set -- $value
rtl_fm -M fm -f 145.8M -s 48k | aplay -D hw:${2:0:1},0,0 -r 48000 -t raw -f S16_LE -c 1
$SHELL

Loading…
Cancel
Save

Powered by TurnKey Linux.