summaryrefslogtreecommitdiff
path: root/decoder/test/i2s/test.conf
diff options
context:
space:
mode:
authorGerhard Sittig <gerhard.sittig@gmx.net>2018-02-10 18:28:03 +0100
committerGerhard Sittig <gerhard.sittig@gmx.net>2018-02-11 23:36:50 +0100
commit3887ed377af4f14a71d80779e8ebdf19a6d0ad33 (patch)
tree6b8a6fd755bf561795dc8b2d93a7951b699e4b2b /decoder/test/i2s/test.conf
parentbf4d9612ec8d7ac15949dd7d6729ed996e3335b1 (diff)
downloadsigrok-test-3887ed377af4f14a71d80779e8ebdf19a6d0ad33.tar.gz
sigrok-test-3887ed377af4f14a71d80779e8ebdf19a6d0ad33.zip
i2s: add test for stream without sample rate
Use a smaller input stream which lacks a samplerate spec. This results in identical decoder output (the existing test did not cover throughput annotations).
Diffstat (limited to 'decoder/test/i2s/test.conf')
-rw-r--r--decoder/test/i2s/test.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/decoder/test/i2s/test.conf b/decoder/test/i2s/test.conf
index 19ea83c..73d11f9 100644
--- a/decoder/test/i2s/test.conf
+++ b/decoder/test/i2s/test.conf
@@ -4,3 +4,10 @@ test 2ch-16bit-16khz
output i2s annotation match 2ch-16bit-16khz.output
output i2s python match 2ch-16bit-16khz.python
output i2s binary class wav match 2ch-16bit-16khz.bin_wav
+
+test 2ch-16bit-16khz-no-samplerate
+ protocol-decoder i2s channel sck=0 channel ws=1 channel sd=2
+ input i2s/2ch-16bit-16khz/2ch-16bit-16khz-no-samplerate.sr
+ output i2s annotation match 2ch-16bit-16khz-no-samplerate.output
+ output i2s python match 2ch-16bit-16khz-no-samplerate.python
+ output i2s binary class wav match 2ch-16bit-16khz-no-samplerate.bin_wav