SDL_Mixer, does it have its own mailing list?

Does SDL_Mixer have its own mailing list? I am not shure if I am in the
right spot.

Just in case here is my issue. I am using the command

musicstream = Mix_LoadMUS (songname);

to load an mp3, however I get the error “Module format not recognized” and
of course it doesnt play any music. smpeg is installed and working. I have
been successful using .wav 's

Can the music channel be used with .mp3’s ? am I using the wrong command? if
so could someone point me towards a project that is using it so I can look
at the code ??

Thanks a lot :)_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

musicstream = Mix_LoadMUS (songname);

I am not sure if smpeg directly supports mp3. I use SMPEGS functions to
actually play the mp3 directly. So the command above would be equal to

SMPEG_play (songname);

But before you do that there are many other parameters you need to setup like
specs and volume. You should probably look to the file examples people have
sent in a couple of days ago. Or other examples.–
Jordan Wilberding <@Jordan_Wilberding>
Diginux.net Sys Admin

<wod.sourceforge.net>
<aztec.sourceforge.net>

“Fight war, not wars,
destroy power, not people”
-Crass

“Entelin Hightree” wrote:

Can the music channel be used with .mp3’s ? am I using the wrong
command? if so could someone point me towards a project that is using
it so I can look at the code ??

It should work, if SDL_mixer was compiled with SMPEG support.

Torbj?rn Andersson

Thanks for your help

I found out what the problem was. In music.c there are many ifdef MP3_MUSIC
lines, so I put a #define MP3_MUSIC at the top of music.c recompiled and my
program started to work with mp3 files. However I would still like to know
where
that was suposed to get defined so I dont have to rely on that little hack.>From: d91tan at Update.UU.SE (Torbj?rn Andersson)

Reply-To: sdl at libsdl.org
To: sdl at libsdl.org
Subject: Re: [SDL] SDL_Mixer, does it have its own mailing list ??
Date: 07 Dec 2001 08:52:16 +0100

“Entelin Hightree” <@Entelin_Hightree> wrote:

Can the music channel be used with .mp3’s ? am I using the wrong
command? if so could someone point me towards a project that is using
it so I can look at the code ??

It should work, if SDL_mixer was compiled with SMPEG support.

Torbj?rn Andersson


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

“Entelin Hightree” wrote:

I found out what the problem was. In music.c there are many ifdef
MP3_MUSIC lines, so I put a #define MP3_MUSIC at the top of music.c
recompiled and my program started to work with mp3 files. However I
would still like to know where that was suposed to get defined so I
dont have to rely on that little hack.

As far as I know, the configure script should have automagically
noticed that SMPEG was installed and made sure MP3_MUSIC was defined
for you.

No idea why it didn’t in your case.

Torbj?rn Andersson