diff --git a/tests/samples/2ch-44100Hz-16bps.m4a b/tests/samples/2ch-44100Hz-16bps.m4a new file mode 100644 index 0000000..b7a55c2 Binary files /dev/null and b/tests/samples/2ch-44100Hz-16bps.m4a differ diff --git a/tests/test-audio-info.cc b/tests/test-audio-info.cc index 9991eae..ff426b4 100644 --- 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 index 0622788..671c2f3 100644 --- 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},