OSX smpeg bug with MP3s

Hello, I’m trying to build/use smpeg 0.4.4 in OSX
10.2. With certain mp3’s, I’m getting assertion
failures:
…/audio/mpegtoraw.cpp:470: failed assertion
’audio->rawdatawriteoffset > len’
Abort trap

Some MP3s seem to work while others give me this
problem. An example of one that fails is the
"boom.mp3" that comes with the Linux branch of OpenAL
in the test directory.

I’m currently using SDL_sound 1.0 (using smpeg) to
decode MP3s. I tried repeating this problem in Linux,
but it looks like this section of code with the
assertion in smpeg is not reached.

I’ve disabled the assertions, and the files do seem to
play (though my G4 Cube doesn’t seem to be very good
at sound playback in SDL so I can’t tell if the
skips/breakups are related because it always does
that), but I was wondering how bad this problem might
be and if anybody knows what the cause is.

Thanks,
Eric__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Hello, I’m trying to build/use smpeg 0.4.4 in OSX
10.2. With certain mp3’s, I’m getting assertion
failures:
…/audio/mpegtoraw.cpp:470: failed assertion
’audio->rawdatawriteoffset > len’
Abort trap

0.4.4 is out of date.

Please get the latest-and-greatest from icculus.org’s CVS. Details:

http://icculus.org/smpeg/

…and let me know if it still has problems.

Thanks,
–ryan.

Hello, I’m trying to build/use smpeg 0.4.4 in OSX
10.2. With certain mp3’s, I’m getting assertion
failures:
…/audio/mpegtoraw.cpp:470: failed assertion
’audio->rawdatawriteoffset > len’
Abort trap

0.4.4 is out of date.

Please get the latest-and-greatest from icculus.org’s CVS. Details:

http://icculus.org/smpeg/

I’ve updated the SDL website to refer to this URL.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Thanks! That fixed the assertion problems!

BTW, you might want to update the Loki smpeg page too
because that’s the top page that Google returns.

Thanks,
Eric

Hello, I’m trying to build/use smpeg 0.4.4 in OSX
10.2. With certain mp3’s, I’m getting assertion
failures:
…/audio/mpegtoraw.cpp:470: failed assertion
’audio->rawdatawriteoffset > len’
Abort trap

0.4.4 is out of date.

Please get the latest-and-greatest from
icculus.org’s CVS. Details:> http://icculus.org/smpeg/


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com