]> sigrok.org Git - sigrok-test.git/blobdiff - decoder/test/spdif/test.conf
spdif: Add a test-case.
[sigrok-test.git] / decoder / test / spdif / test.conf
diff --git a/decoder/test/spdif/test.conf b/decoder/test/spdif/test.conf
new file mode 100644 (file)
index 0000000..cb63b0d
--- /dev/null
@@ -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