MSACM: winemp3 codec crashes on seek, reimplement with libmad?

Alex Villací­s Lasso a_villacis at
Wed Feb 8 09:58:25 CST 2006

Eric Pouech wrote:
> > Are there any issues
>> I should take into account before trying this?
> first of all, are we sure that the issue comes from the decoder itself 
> (and not some wine wrapper around it) ?
I performed the following test: with the sample VB application, I 
modified the winemp3 code to write the input buffer (mp3) and the 
decoded output buffer (PCM) at the end of separate files. Then I played 
the mp3 samples file. This one plays correctly (rules out mangling of 
input buffers). The output file has quirks, but plays a little better 
than the output from the VB application (no delays), which suggest that 
there are some timing issues with the winemp3 code, or that the output 
duration, as reported by winemp3, is slightly incorrect.
> the second issue is that MAD is GPL... hence we cannot use it
> A+
Too bad. I was thinking about adding a configure check for libmad and 
linking to it, but then this would still disallow mixing the code. BTW, 
when was the winemp3 code forked form mpg123? Maybe it is high time for 
somebody (me?) to do a resync with the latest version of mpglib.

Alex Villacís Lasso

More information about the wine-devel mailing list