[SDL] Who will accept patches to SDL_mixer to add support for libmad?
David Rose
david at ddrose.com
Thu Jun 29 18:40:59 PDT 2006
Greetings!
It was recently necessary for me to add code to SDL_mixer to support
libmad for mp3 playback in addition to smpeg.
I needed libmad because I am working on porting a program to the GP2x
handheld device ( http://gp2x.co.uk/ ), which does not have a
floating-point unit, so the floating-point calculations performed by
smpeg must be emulated in software and are therefore unacceptably
expensive. libmad, on the other hand, was written specifically for
architectures that lack a floating-point unit, and it performs quite
well on the GP2x.
There may also be reasons to prefer libmad on a standard platform such
as a PC, but this decision may be left to the end-user. I have designed
my patches such that it is an optional feature that may be enabled at
configure time; it need not replace the existing smpeg support.
I have patches against SDL_mixer version 1.2.7 (as well as against
version 1.2.6). Would anyone appreciate receiving this contribution to
the codebase?
David
More information about the SDL
mailing list