summaryrefslogtreecommitdiff
path: root/tests/ref
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-23 14:41:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-27 07:08:59 +0200
commitffe9867bc22aba87fb016e16a4c628e010f404b3 (patch)
tree85d3a10e648b0c8bf9eaa52542f83785ddfe64c3 /tests/ref
parentfc439f776dc6f4d9e1904cc72c3f3ecab79e6f96 (diff)
fate/oma: Add remux tests for ATRAC3 and ATRAC3P
They already uncovered an uninitialized-value bug in the ATRAC3 code in the demuxer; and provide coverage for ID3v2.3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/ref')
-rw-r--r--tests/ref/fate/oma-atrac3-remux14
-rw-r--r--tests/ref/fate/oma-atrac3p-remux18
2 files changed, 32 insertions, 0 deletions
diff --git a/tests/ref/fate/oma-atrac3-remux b/tests/ref/fate/oma-atrac3-remux
new file mode 100644
index 0000000000..fb402c43c6
--- /dev/null
+++ b/tests/ref/fate/oma-atrac3-remux
@@ -0,0 +1,14 @@
+9f1825375316cb8d6109747def944856 *tests/data/fate/oma-atrac3-remux.oma
+50056 tests/data/fate/oma-atrac3-remux.oma
+#extradata 0: 14, 0x0aa600f2
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: atrac3
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0, 0, 0, 1024, 384, 0xdfded1b5
+0, 1024, 1024, 1024, 384, 0xd8e3badd
+0, 2048, 2048, 1024, 384, 0xa316bdbb
+0, 3072, 3072, 1024, 384, 0xcea0ad2b
+0, 4096, 4096, 1024, 384, 0x88d7a98a
diff --git a/tests/ref/fate/oma-atrac3p-remux b/tests/ref/fate/oma-atrac3p-remux
new file mode 100644
index 0000000000..d909fdaee9
--- /dev/null
+++ b/tests/ref/fate/oma-atrac3p-remux
@@ -0,0 +1,18 @@
+0053481795d07598bf2e7d931dfc4fa3 *tests/data/fate/oma-atrac3p-remux.oma
+671783 tests/data/fate/oma-atrac3p-remux.oma
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: atrac3p
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0, 0, 0, 2048, 1488, 0x69b7fad9
+0, 2048, 2048, 2048, 1488, 0x3c43fdb8
+0, 4096, 4096, 2048, 1488, 0xdcd2dbcc
+0, 6144, 6144, 2048, 1488, 0x5708e4bd
+0, 8192, 8192, 2048, 1488, 0xdc7bf8a7
+[FORMAT]
+TAG:title=noise
+TAG:time=16:00
+TAG:date=2021-09-23
+[/FORMAT]