From a5ecf8c2c33ea8ca44bedccdef60eb7354102f66 Mon Sep 17 00:00:00 2001 Message-Id: From: Mark Wooding Date: Sat, 2 May 2020 19:56:06 +0100 Subject: [PATCH] server/Makefile.am: Allow discrepancies for lossy codecs. Organization: Straylight/Edgeware From: Mark Wooding It seems that `libMAD' on ARM32 doesn't produce the same output as it does on x86; and the ARM64 version is a looooong way off. I've not investigated, but I suspect details of floating point and/or SIMD optimization. Anyway, smallish $L_\infty$ distance isn't especially concerning. After all, we're trying to make sure that we're using the decoders right, rather than that the decoders conform to the relevant specifications. --- server/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/Makefile.am b/server/Makefile.am index 2447485..42dc40b 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -141,7 +141,7 @@ check-decode: check-wav check-flac check-mp3 check-mp3: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.mp3 | \ ./disorder-normalize --config ${srcdir}/test-config > mp3ed.raw - $(top_srcdir)/scripts/compare-raw 0 \ + $(top_srcdir)/scripts/compare-raw 64 \ mp3ed.raw ${top_srcdir}/sounds/scratch-mp3.raw rm -f mp3ed.raw @@ -150,7 +150,7 @@ check-mp3: disorder-decode disorder-normalize check-ogg: disorder-decode disorder-normalize ./disorder-decode ${top_srcdir}/sounds/scratch.ogg | \ ./disorder-normalize --config ${srcdir}/test-config > ogged.raw - $(top_srcdir)/scripts/compare-raw 0 \ + $(top_srcdir)/scripts/compare-raw 64 \ ogged.raw ${top_srcdir}/sounds/scratch.raw rm -f ogged.raw -- [mdw]