From: J. C. <jca...@us...> - 2001-10-20 06:46:36
|
> 1. Re: Prboom-2.2.2 on linux (Colin Phipps) >> crackly like zdoom on linux, almost as if treble were cranked to distortion. >Still on my list to investigate; SDL_mixer isn't even recognising mp3s for me >(perhaps Debian are on another anti-mp3 crusade atm). I don't think so, it's FU by the mixer team, if you add a -DMP3_MUSIC switch it'll be fine but you should get the CVS version I suspect. Snip: [SDL] Re: SDL_mixer MP3_MUSIC not defined...... >To: sd...@li... >Subject: Re: [SDL] SDL_mixer: MP3_MUSIC not defined by configure. >From: Sam Lantinga <sl...@de...> >Date: Sun, 14 Oct 2001 19:47:49 -0700 >Reply-To: sd...@li... > >> While trying to get mp3 music to play with an application I notice that the -DMP3_MUSIC parameter is not being set by configure. > >SDL_mixer uses SMPEG to do the MP3 decoding, so you have to have that >installed. You can get it from Loki: >http://www.lokigames.com/development/smpeg.php3 >(if I remember correctly) You need to add -DMP3_MUSIC to the configure.in file in the section where smpeg is detected, while smpeg is detected fine there are some things in the source code that depends on this. I'm using linux btw. I notice that this has already been fixed in the CVS: AC_ARG_ENABLE(music-mp3, [ --enable-music-mp3 enable MP3 music via smpeg [default=yes]], , enable_music_mp3=yes) if test x$enable_music_mp3 = xyes; then SMPEG_VERSION=0.4.3 AM_PATH_SMPEG($SMPEG_VERSION, have_smpeg=yes, have_smpeg=no) if test x$have_smpeg = xyes; then CFLAGS="$CFLAGS -DMP3_MUSIC $SMPEG_CFLAGS" LIBS="$LIBS $SMPEG_LIBS" fi fi This is what is in 1.2.0: AC_ARG_ENABLE(music-mp3, [ --enable-music-mp3 enable MP3 music via smpeg [default=yes]], , enable_music_mp3=yes) if test x$enable_music_mp3 = xyes; then SMPEG_VERSION=0.4.3 AM_PATH_SMPEG($SMPEG_VERSION, have_smpeg=yes, have_smpeg=no) if test x$have_smpeg = xyes; then CFLAGS="$CFLAGS $SMPEG_CFLAGS" LIBS="$LIBS $SMPEG_LIBS" fi Keep it going, James -- Get your free email at http://freemail.shooters.com/ -- |