From 3887ed377af4f14a71d80779e8ebdf19a6d0ad33 Mon Sep 17 00:00:00 2001 From: Gerhard Sittig Date: Sat, 10 Feb 2018 18:28:03 +0100 Subject: 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). --- decoder/test/i2s/test.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'decoder/test/i2s/test.conf') 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 -- cgit v1.2.3-54-g00ecf