Skip to content

Commit

Permalink
reducing sleep periods
Browse files Browse the repository at this point in the history
  • Loading branch information
janvda authored and janvda committed Sep 23, 2019
1 parent c9a17a1 commit 3593814
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pulseaudio-client-test/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ case $test_id in
2) echo "Starting test 2: "
echo "- Starting recording audio within 5 sec !"
paplay ./test_id_2/step1_welcome.wav
sleep 5
sleep 3
echo "- Recording for $recording_time seconds started ... (SAY SOMETHING) "
paplay ./test_id_2/step2_recording_starts.wav
parecord --channels=1 record_session1.wav &
sleep $recording_time
kill $! #$! expands to the PID of the last process executed in the background
echo "- Recording finished !"
paplay ./test_id_2/step3_recording_finished.wav
sleep 3
sleep 2
paplay ./test_id_2/step4_play_recording.wav
echo "- Playing recorded audio..."
paplay record_session1.wav
Expand Down

0 comments on commit 3593814

Please sign in to comment.