shithub: mp3dec

Download patch

ref: cf99374896971c78e79eb74ee22468155f47eb69
parent: 9de1e1ccc43c2f5f16a159c1fb47ee6d9747c69b
author: lieff <lieff@users.noreply.github.com>
date: Tue Feb 18 19:35:05 EST 2020

test: improve coverage

--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -34,6 +34,17 @@
 ./minimp3 vectors/l3-nonstandard-id3v1.bit vectors/ILL2_mono.pcm
 ./minimp3 vectors/l3-nonstandard-id3v1.bit - temp.pcm
 rm temp.pcm
+
+./minimp3 -m 2 -e 0 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
+./minimp3 -m 2 -e 1 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
+./minimp3 -m 2 -e 2 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
+./minimp3 -m 2 -e 3 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
+./minimp3 -m 2 -e 2 vectors/l3-nonstandard-id3v2.bit
+./minimp3 -m 2 -e 3 vectors/l3-nonstandard-id3v2.bit
+
+./minimp3 -m 5 -e 1 vectors/l3-nonstandard-id3v2.bit
+./minimp3 -m 5 -e 2 vectors/l3-nonstandard-id3v2.bit
+
 ./minimp3 -m 8 -e 0 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
 ./minimp3 -m 8 -e 1 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm
 ./minimp3 -m 8 -e 2 vectors/l3-sin1k0db.bit vectors/l3-sin1k0db.pcm