Mpeg stuff in SDL

I’m getting massive compiler errors. This could never have worked. In
MPEGaudio.h lots of references to bixindex (should be bitindex)? My 386
machine doesn’t seem to be getting the LIL_INDIAN stuff which must have been
the tested and working side of the IF/ELSE/ENDIF stuff, lots of
"buffer undeclared identifier" stuff (should be _buffer?) Now in
audio/MPEGaudio.cpp I’m getting a strange error
audio/MPEGaudio.cpp: In method void MPEGaudio::Play()': audio/MPEGaudio.cpp:127: argument passing tovoid (*)(void )’ from `int ()(void *)’

I’m trying to compile with the 9.13 version of SDL and the latest CVS
snapshot of the demos. What gives?
-Dave

I’m getting massive compiler errors. This could never have worked. In
MPEGaudio.h lots of references to bixindex (should be bitindex)? My 386
machine doesn’t seem to be getting the LIL_INDIAN stuff which must have been
the tested and working side of the IF/ELSE/ENDIF stuff, lots of
"buffer undeclared identifier" stuff (should be _buffer?) Now in
audio/MPEGaudio.cpp I’m getting a strange error
audio/MPEGaudio.cpp: In method void MPEGaudio::Play()': audio/MPEGaudio.cpp:127: argument passing tovoid (*)(void )’ from `int ()(void *)’

I’m trying to compile with the 9.13 version of SDL and the latest CVS
snapshot of the demos. What gives?

You need the latest CVS snapshot of both to compile it.
SDL 0.9.13 doesn’t have some endian detection stuff needed for the audio
code.

The bixindex stuff leads me to believe that the PPC code doesn’t work.
Erm.

The error from audio/MPEGaudio.cpp sounds like the compiler is picking up
includes that are older than 0.9.13.

Thanks for the feedback.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec