I put the first attempt at a way to validate your compilation of
LAME into CVS:  

There is now a small (7 frame) testcase,

testcase.wav
testcase.mp3      'official' output

Typing 'make test' under unix will run:

        ./lame  --nores -h testcase.wav testcase.new.mp3
        cmp -l testcase.new.mp3 testcase.mp3 | wc

The first number in the output of wc is the number of bytes which
differ between the new output and the official results.

testcase.mp3 is 2926 bytes, so I think the wc output should be
at most 1% different, or at most 30 bytes.

It may not be zero due to differences in rounding cased by
math libraries and optimization.  But the --nores prevents
these differences from propagating past a single frame.

I would be interested if others using CVS could post the results
from 'make test'.  Especially non-linux users, although I dont
know what the 'wc' command would be under windows.

Mark









--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to