shithub: mp3dec

Download patch

ref: de6b040c466c6f0323f0391eacc8d8b4c8cb9fe9
parent: dbb7c93d547e3646c6c9456d1b2138a1ba8ac173
author: lieff <[email protected]>
date: Wed Jan 10 13:04:45 EST 2018

test: print more info

--- a/minimp3.c
+++ b/minimp3.c
@@ -1692,7 +1692,7 @@
         psnr = 99.0;
     else
         psnr = 10.0*log10(((double)0x7fff*0x7fff)/MSE);
-    printf("PSNR=%f\n", psnr);
+    printf("samples=%d PSNR=%f\n", total_samples, psnr);
     if (psnr < 96)
     {
         printf("PSNR compliance failed\n");