diff --git a/daemon/scripts/sink_record.sh b/daemon/scripts/sink_record.sh index 3dac983..c728ca2 100755 --- a/daemon/scripts/sink_record.sh +++ b/daemon/scripts/sink_record.sh @@ -1 +1 @@ -arecord -D hw:1,0 -f cd -d 30 -r 44100 -t wav sink.wav +arecord -D plughw:RAVENNA -c 2 -f cd -d 30 -r 44100 -t wav sink.wav diff --git a/daemon/scripts/source_play.sh b/daemon/scripts/source_play.sh index 1f72b05..c119fc0 100755 --- a/daemon/scripts/source_play.sh +++ b/daemon/scripts/source_play.sh @@ -1 +1 @@ -speaker-test -D hw:1,0 -r 44100 -c 2 -t sine +speaker-test -D plughw:RAVENNA -r 44100 -c 2 -t sine diff --git a/run_demo.sh b/run_demo.sh index 71ef30c..aca11e9 100755 --- a/run_demo.sh +++ b/run_demo.sh @@ -76,12 +76,12 @@ sleep 30 #starting recording on sink echo "Starting to record 60 secs from sink ..." -arecord -D hw:1,0 -f cd -d 60 -r 44100 -c 2 -t wav /tmp/sink_test.wav > /dev/null 2>&1 & +arecord -D plughw:RAVENNA -f cd -d 60 -r 44100 -c 2 -t wav /tmp/sink_test.wav > /dev/null 2>&1 & sleep 10 #starting playback on source echo "Starting to playback test on source ..." -speaker-test -D hw:1,0 -r 44100 -c 2 -t sine > /dev/null 2>&1 & +speaker-test -D plughw:RAVENNA -r 44100 -c 2 -t sine > /dev/null 2>&1 & while killall -0 arecord 2>/dev/null ; do sleep 1