Hi all,
some email. something I don't have time to check out.
[I do hear an initial click in wav files though. this may be the fix)
later
mike
---------- Forwarded message ----------
Date: Sun, 26 Jul 1998 20:09:54 +0200
From: Albert Faber <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Found start up bug of MP3 encoder when converting WAV files
Hi,
I discovered a small bug in the wave_open function, when decoding the PCM
header, you forgot to read the data size field after the "data" is read in
(that is the following line in the code:
if(!checkString(config.wave.file,"data")) ERROR("Can't find data
chunk");
To solve this problem, add the following line in the code:
dDataSize= Read32BitsLowHigh(config.wave.file); /* data size */
In the current configuration this data size field is interpreted as data,
which can cause a strange glitch at the beginning of the MP3 sound file.
Hope this will help to improve the MP3 encoder.