[SDL] How do I play mp3 with sdl_mixer and smpeg? (fwd)
john at johnnypops.demon.co.uk
Fri Jul 5 20:27:01 PDT 2002
the Pygame page has a set of Windows SDL libraries that includes
SDL_mixer and SMPEG working together. See :
and look for the file 'win32-dependencies.zip'
The .dll's are in the 'prebuilt/lib' folder,
----- Original Message -----
From: "Florian Schulze" <florian.proff.schulze at gmx.net>
To: <sdl at libsdl.org>; "Lars Englund" <lars.englund at home.se>
Sent: Friday, July 05, 2002 10:47 PM
Subject: Re: [SDL] How do I play mp3 with sdl_mixer and smpeg? (fwd)
> From: Lars Englund <lars.englund at home.se>
> > Hi, I have downloaded the SDL_mixer pack with the libs, dlls, and
> > for win32. I have allso downloaded the smpeg pack with the libs, dlls,
> > headers for win32. I then included smpeg.h and SDL_mixer.h but all i get
> > when trying to play an mp3 is:
> > Mix_PlayMusic: Module format not recognized
> > Do I have to compile SDL_mixer to use SMPEG? If so, how do I do that?
> Yes, you have to recompile. If you use MS Visual C, then you have to go to
> the project settings and add MP3_MUSIC to the defines and add smpeg.lib to
> the librarys. I just did that today with the latest versions and it works.
> You have to download the source of SDL_mixer, for smpeg the header and lib
> is enough.
> SDL mailing list
> SDL at libsdl.org
More information about the SDL