commit cc8615db9c3d5913155374a20f7dfd9607e5a136
parent 9e7c6156b9c6ccc933a8e7b1e8c97e91ba437e8a
Author: Alexander Kojevnikov <alexander@kojevnikov.com>
Date: Thu, 7 Mar 2013 10:16:07 -0800
Test .ape and .wv samples
Diffstat:
7 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/po/spek.pot b/po/spek.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2013-03-06 09:06-0800\n"
+"POT-Creation-Date: 2013-03-07 10:14-0800\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/tests/samples/1ch-96000Hz-24bps.ape b/tests/samples/1ch-96000Hz-24bps.ape
Binary files differ.
diff --git a/tests/samples/1ch-96000Hz-24bps.wv b/tests/samples/1ch-96000Hz-24bps.wv
Binary files differ.
diff --git a/tests/samples/2ch-48000Hz-16bps.ape b/tests/samples/2ch-48000Hz-16bps.ape
Binary files differ.
diff --git a/tests/samples/2ch-48000Hz-16bps.wv b/tests/samples/2ch-48000Hz-16bps.wv
Binary files differ.
diff --git a/tests/test-audio-info.cc b/tests/test-audio-info.cc
@@ -54,6 +54,10 @@ void test_audio_info()
std::map<std::string, FileInfo> files = {
{"1ch-96000Hz-24bps.flac", {"FLAC", 0, 96000, 24, 1, 0.1}},
{"2ch-48000Hz-16bps.flac", {"FLAC", 0, 48000, 16, 2, 0.1}},
+ {"1ch-96000Hz-24bps.ape", {"Monkey", 0, 96000, 24, 1, 0.1}},
+ {"2ch-48000Hz-16bps.ape", {"Monkey", 0, 48000, 16, 2, 0.1}},
+ {"1ch-96000Hz-24bps.wv", {"WavPack", 0, 96000, 24, 1, 0.1}},
+ {"2ch-48000Hz-16bps.wv", {"WavPack", 0, 48000, 16, 2, 0.1}},
{"2ch-44100Hz-16bps.wav", {"PCM", 0, 44100, 16, 2, 0.1}},
{"2ch-44100Hz-128cbr.mp3", {"MP3", 128000, 44100, 0, 2, MP3_T}},
{"2ch-44100Hz-320cbr.mp3", {"MP3", 320000, 44100, 0, 2, MP3_T}},
diff --git a/tests/test-audio-read.cc b/tests/test-audio-read.cc
@@ -49,6 +49,10 @@ void test_audio_read()
std::map<std::string, int> files = {
{"1ch-96000Hz-24bps.flac", 1 * 96000 / 10},
{"2ch-48000Hz-16bps.flac", 2 * 48000 / 10},
+ {"1ch-96000Hz-24bps.ape", 1 * 96000 / 10},
+ {"2ch-48000Hz-16bps.ape", 2 * 48000 / 10},
+ {"1ch-96000Hz-24bps.wv", 1 * 96000 / 10},
+ {"2ch-48000Hz-16bps.wv", 2 * 48000 / 10},
{"2ch-44100Hz-16bps.wav", 2 * 44100 / 10},
{"2ch-44100Hz-128cbr.mp3", 2 * 1152 * 4 + 94},
{"2ch-44100Hz-320cbr.mp3", 2 * 1152 * 4 + 94},