fate: add wavpack encoder
authorPaul B Mahol <onemda@gmail.com>
Thu, 12 Feb 2015 18:17:17 +0000 (18:17 +0000)
committerPaul B Mahol <onemda@gmail.com>
Fri, 13 Feb 2015 09:22:18 +0000 (09:22 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tests/fate/acodec.mak
tests/ref/acodec/wavpack [new file with mode: 0644]

index 325bbd9..691f9ff 100644 (file)
@@ -140,6 +140,10 @@ fate-acodec-roqaudio: CODEC = roq_dpcm
 fate-acodec-roqaudio: ENCOPTS = -ar 22050
 fate-acodec-roqaudio: DECOPTS = -ar 44100
 
+FATE_ACODEC-$(call ENCDEC, WAVPACK, WV) += fate-acodec-wavpack
+fate-acodec-wavpack: FMT = wv
+fate-acodec-wavpack: CODEC = wavpack -compression_level 1
+
 FATE_ACODEC += $(FATE_ACODEC-yes)
 
 $(FATE_ACODEC): tests/data/asynth-44100-2.wav
diff --git a/tests/ref/acodec/wavpack b/tests/ref/acodec/wavpack
new file mode 100644 (file)
index 0000000..02f09ae
--- /dev/null
@@ -0,0 +1,4 @@
+000420796cc3e526650ce6f4c6334471 *tests/data/fate/acodec-wavpack.wv
+338166 tests/data/fate/acodec-wavpack.wv
+95e54b261530a1bcf6de6fe3b21dc5f6 *tests/data/fate/acodec-wavpack.out.wav
+stddev:    0.00 PSNR:999.99 MAXDIFF:    0 bytes:  1058400/  1058400