Re: [Ohrrpgce] SVN: teeemcee/1237 SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequen

2007-08-15 Thread Ralph Versteegen
On 7/27/07, James Paige [EMAIL PROTECTED] wrote:
 On Thu, Jul 26, 2007 at 09:54:10PM +1200, Ralph Versteegen wrote:
  On 7/26/07, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   teeemcee
   2007-07-26 02:36:06 -0700 (Thu, 26 Jul 2007)
   390
   SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird 
   frequency MP3 files play just the same as OGG files
  
   But since MP3 are now never played, I could compile a very with no MP3 
   support at all to reduce the size a bit. 660kb is awfully large, but its 
   smaller than the SMPEG version.
  
   I'm not aware what version of SDL_Mixer Simon uploaded - maybe there are 
   some hidden bug fixes?
   ---
   U   wip/SDL_mixer.dll
  
 
  While it may appear that James jumped the gun on libmad (wow, that was
  a lot of work on his part), infact it took me 3 days of tweaking
  configure, libtool and makefile scripts and environmental variables to
  get SDL_Mixer and all its dependencies to compile and link to a stand
  alone dll in Msys/Mingw (I didn't want to attempt to cross compile
  from linux - but then I wouldn't have run into all those msys/libtool
  bugs). From this experience, I learnt libtool isn't much use (at least
  not on msys) - in the end I had to call gcc manually because libtool
  disobeyed its own settings.

 Thanks for doing that!

 I still think that converting MP3 and WAV to OGG is a Good Thing, but
 it is also great to have an SDL_mixer dll that Does The Right Thing

 ---
 James Paige

I've found I have many MP3s that crash this new SDL_mixer (encoder:
iTunes 7.1), which don't play at all or muck up with music_native, but
which madplay converts to an OGG all backends can play perfectly.
Strange. Maybe the problem is in the way SDL_mixer uses libmad.

TMC
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/1237 SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequen

2007-07-29 Thread Ralph Versteegen
On 7/27/07, James Paige [EMAIL PROTECTED] wrote:
 On Thu, Jul 26, 2007 at 09:54:10PM +1200, Ralph Versteegen wrote:
  On 7/26/07, [EMAIL PROTECTED]
  [EMAIL PROTECTED] wrote:
   teeemcee
   2007-07-26 02:36:06 -0700 (Thu, 26 Jul 2007)
   390
   SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird 
   frequency MP3 files play just the same as OGG files
  
   But since MP3 are now never played, I could compile a very with no MP3 
   support at all to reduce the size a bit. 660kb is awfully large, but its 
   smaller than the SMPEG version.
  
   I'm not aware what version of SDL_Mixer Simon uploaded - maybe there are 
   some hidden bug fixes?
   ---
   U   wip/SDL_mixer.dll
  
 
  While it may appear that James jumped the gun on libmad (wow, that was
  a lot of work on his part), infact it took me 3 days of tweaking
  configure, libtool and makefile scripts and environmental variables to
  get SDL_Mixer and all its dependencies to compile and link to a stand
  alone dll in Msys/Mingw (I didn't want to attempt to cross compile
  from linux - but then I wouldn't have run into all those msys/libtool
  bugs). From this experience, I learnt libtool isn't much use (at least
  not on msys) - in the end I had to call gcc manually because libtool
  disobeyed its own settings.

 Thanks for doing that!

 I still think that converting MP3 and WAV to OGG is a Good Thing, but
 it is also great to have an SDL_mixer dll that Does The Right Thing


I agree, especially for wav's, but what able reenabling previewing
MP3s? On windows anyway - we would have to statically link with a
custom SDL_Mixer build to safely enable it on linux I guess.
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/1237 SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequen

2007-07-26 Thread Simon Bradley
On 7/26/07, Ralph Versteegen [EMAIL PROTECTED] wrote:
 On 7/26/07, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  teeemcee
  2007-07-26 02:36:06 -0700 (Thu, 26 Jul 2007)
  390
  SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequency 
  MP3 files play just the same as OGG files
 
  But since MP3 are now never played, I could compile a very with no MP3 
  support at all to reduce the size a bit. 660kb is awfully large, but its 
  smaller than the SMPEG version.
 
  I'm not aware what version of SDL_Mixer Simon uploaded - maybe there are 
  some hidden bug fixes?
  ---
  U   wip/SDL_mixer.dll
 

 While it may appear that James jumped the gun on libmad (wow, that was
 a lot of work on his part), infact it took me 3 days of tweaking
 configure, libtool and makefile scripts and environmental variables to
 get SDL_Mixer and all its dependencies to compile and link to a stand
 alone dll in Msys/Mingw (I didn't want to attempt to cross compile
 from linux - but then I wouldn't have run into all those msys/libtool
 bugs). From this experience, I learnt libtool isn't much use (at least
 not on msys) - in the end I had to call gcc manually because libtool
 disobeyed its own settings.

 TMC
 ___
 Ohrrpgce mailing list
 ohrrpgce@lists.motherhamster.org
 http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

I originally included a slightly older version (1.2.6 I think) because
at that time the binary distribution was statically-linked with libogg
and smpeg. Upgrading to 1.2.7 meant that the ogg DLLs and the mpeg
library needed to be included separately, and they were quite big.
Also, it crashed, I seem to remember. I think the import might not
quite have matched the later DLL.

MP3s will still be played in those games that already include them.
It's only on import that we convert them (yes?). It depends if we want
to force authors to reimport or if we want to preserve
back-compatibility with unstable releases.

Simon
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/1237 SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequen

2007-07-26 Thread James Paige
On Thu, Jul 26, 2007 at 09:54:10PM +1200, Ralph Versteegen wrote:
 On 7/26/07, [EMAIL PROTECTED]
 [EMAIL PROTECTED] wrote:
  teeemcee
  2007-07-26 02:36:06 -0700 (Thu, 26 Jul 2007)
  390
  SDL_mixer.dll 1.2.8 compiled with libmad instead of SMPEG, weird frequency 
  MP3 files play just the same as OGG files
 
  But since MP3 are now never played, I could compile a very with no MP3 
  support at all to reduce the size a bit. 660kb is awfully large, but its 
  smaller than the SMPEG version.
 
  I'm not aware what version of SDL_Mixer Simon uploaded - maybe there are 
  some hidden bug fixes?
  ---
  U   wip/SDL_mixer.dll
 
 
 While it may appear that James jumped the gun on libmad (wow, that was
 a lot of work on his part), infact it took me 3 days of tweaking
 configure, libtool and makefile scripts and environmental variables to
 get SDL_Mixer and all its dependencies to compile and link to a stand
 alone dll in Msys/Mingw (I didn't want to attempt to cross compile
 from linux - but then I wouldn't have run into all those msys/libtool
 bugs). From this experience, I learnt libtool isn't much use (at least
 not on msys) - in the end I had to call gcc manually because libtool
 disobeyed its own settings.

Thanks for doing that!

I still think that converting MP3 and WAV to OGG is a Good Thing, but 
it is also great to have an SDL_mixer dll that Does The Right Thing

---
James Paige
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org