]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/i2s/test.conf
i2s: add test for stream without sample rate
[sigrok-test.git] / decoder / test / i2s / test.conf
index a913d619fbd5251005b7ff62a9b22de4f984d243..73d11f94d5a59b9261d3b11e8c9720ca50730138 100644 (file)
@@ -1,5 +1,13 @@
-test exception_samplerate
-       protocol-decoder i2s
-       input misc/no-samplerate.sr
-       output i2s exception match SamplerateError
+test 2ch-16bit-16khz
+       protocol-decoder i2s channel sck=0 channel ws=1 channel sd=2
+       input i2s/2ch-16bit-16khz/2ch-16bit-16khz.sr
+       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