Sdlwav.c

Hi everybody.
I’ve successfully built sdlwav.c (the demo program attached to SDL_mixer), but
when I try to play an mp3 file the program fail with the following message:

Mix_LoadMUS("/home/lgiancri/Papetti.mp3"): Module format not recognized.

any idea?
Luigi

mp3s are MOD files. :^)

Mix_LoadMUS loads module music files, MIDIs, and so forth.

MP3s are just samples, like WAVs, AUs, etc.

-bill!On Mon, Nov 25, 2002 at 08:09:03PM -0500, luigi wrote:

Hi everybody.
I’ve successfully built sdlwav.c (the demo program attached to SDL_mixer), but
when I try to play an mp3 file the program fail with the following message:

Mix_LoadMUS(“/home/lgiancri/Papetti.mp3”): Module format not recognized.

Holy crap! Where’d the “n’t” or “not” go!? :^)

mp3s are NOT MOD files :wink:

-bill!On Mon, Nov 25, 2002 at 11:22:28AM -0800, Bill Kendrick wrote:

mp3s are MOD files. :^)

luigi wrote:

Mix_LoadMUS(“/home/lgiancri/Papetti.mp3”): Module format not
recognized.

Looks like your SDL_mixer is built without mp3 support. Reconfigure
and recompile.–
Rainer Deyke | root at rainerdeyke.com | http://rainerdeyke.com

Alle 16:34, luned? 25 novembre 2002, Rainer Deyke ha scritto:

luigi wrote:

Mix_LoadMUS(“/home/lgiancri/Papetti.mp3”): Module format not
recognized.

Looks like your SDL_mixer is built without mp3 support. Reconfigure
and recompile.

that was the cause. I’ve recompiled sdl_mixer giving the path to smpeg library
e everything’s alright now. Thank you Rainer!