1234567891011121314151617 |
- #!/bin/bash
- source test-common.sh
- IN_WAV=sync-test.wav
- OUT_WAV=sync-test-out.wav
- CUT_WAV=sync-test-cut.wav
- audiowmark test-gen-noise $IN_WAV 200 44100
- audiowmark_add $IN_WAV $OUT_WAV $TEST_MSG
- # cut 20 seconds and 300 samples
- audiowmark cut-start $OUT_WAV $CUT_WAV 882300
- audiowmark_cmp --expect-matches 3 $CUT_WAV $TEST_MSG
- rm $IN_WAV $OUT_WAV $CUT_WAV
- exit 0
|