commit 4e683c33240bbe3e684883c605204ee02efa38b0
parent b18c0e773b2cfb78836661881f4cd4e5f492a97b
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Wed, 27 Mar 2013 10:27:30 -0700
tests: ALAC demuxing/decoding
Diffstat:
3 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/samples/2ch-44100Hz-16bps.m4a b/tests/samples/2ch-44100Hz-16bps.m4a
Binary files differ.
diff --git a/tests/test-audio-info.cc b/tests/test-audio-info.cc
@@ -61,6 +61,7 @@ void test_audio_info()
{"2ch-48000Hz-16bps.flac", {AudioError::OK, "FLAC", 0, 48000, 16, 2, 0.1}},
{"1ch-96000Hz-24bps.ape", {AudioError::OK, "Monkey", 0, 96000, 24, 1, 0.1}},
{"2ch-48000Hz-16bps.ape", {AudioError::OK, "Monkey", 0, 48000, 16, 2, 0.1}},
+ {"2ch-44100Hz-16bps.m4a", {AudioError::OK, "ALAC", 0, 44100, 16, 2, 0.1}},
{"1ch-96000Hz-24bps.wv", {AudioError::OK, "WavPack", 0, 96000, 24, 1, 0.1}},
{"2ch-48000Hz-16bps.wv", {AudioError::OK, "WavPack", 0, 48000, 16, 2, 0.1}},
{"2ch-44100Hz-16bps.wav", {AudioError::OK, "PCM", 0, 44100, 16, 2, 0.1}},
diff --git a/tests/test-audio-read.cc b/tests/test-audio-read.cc
@@ -51,6 +51,7 @@ void test_audio_read()
{"2ch-48000Hz-16bps.flac", 2 * 48000 / 10},
{"1ch-96000Hz-24bps.ape", 1 * 96000 / 10},
{"2ch-48000Hz-16bps.ape", 2 * 48000 / 10},
+ {"2ch-44100Hz-16bps.m4a", 2 * 44100 / 10},
{"1ch-96000Hz-24bps.wv", 1 * 96000 / 10},
{"2ch-48000Hz-16bps.wv", 2 * 48000 / 10},
{"2ch-44100Hz-16bps.wav", 2 * 44100 / 10},