block-decoder-test.sh 269 B

1234567891011121314
  1. #!/bin/bash
  2. source test-common.sh
  3. IN_WAV=block-decoder-test.wav
  4. OUT_WAV=block-decoder-test-out.wav
  5. audiowmark test-gen-noise $IN_WAV 200 44100
  6. audiowmark_add $IN_WAV $OUT_WAV $TEST_MSG
  7. audiowmark_cmp --expect-matches 5 $OUT_WAV $TEST_MSG
  8. rm $IN_WAV $OUT_WAV
  9. exit 0