summaryrefslogtreecommitdiff
path: root/decoder/test/spdif/test.conf
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2015-07-22 08:52:48 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2015-07-22 18:05:08 +0200
commit9d3688bf20b42cb59a734f349df34b1ce326a791 (patch)
tree1e001d789fe75d0ebe3ef6a4f200de83a747007a /decoder/test/spdif/test.conf
parent3e2a23bab745801f02f36cab8aa05203e4055d1b (diff)
downloadsigrok-test-9d3688bf20b42cb59a734f349df34b1ce326a791.tar.gz
sigrok-test-9d3688bf20b42cb59a734f349df34b1ce326a791.zip
spdif: Add a test-case.
Diffstat (limited to 'decoder/test/spdif/test.conf')
-rw-r--r--decoder/test/spdif/test.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/decoder/test/spdif/test.conf b/decoder/test/spdif/test.conf
new file mode 100644
index 0000000..cb63b0d
--- /dev/null
+++ b/decoder/test/spdif/test.conf
@@ -0,0 +1,9 @@
+test exception_samplerate
+ protocol-decoder spdif
+ input misc/no-samplerate.sr
+ output spdif exception match SamplerateError
+
+test 2ch-16bit-48khz
+ protocol-decoder spdif channel data=0
+ input spdif/2ch-16bit-48khz/2ch-16bit-48khz.sr
+ output spdif annotation match 2ch-16bit-48khz.output