Announcing SDL_mixer 1.2.6

SDL_mixer 1.2.6 is now available!
http://www.libsdl.org/projects/SDL_mixer/

Changes since the last release:

  • Added support for using the system version of libmikmod
  • Added SDL_RWops support for reading Ogg Vorbis files
  • Added 4 and 6 channel surround sound output support
  • Added support for RMID format MIDI files
  • Improved timidity support (reverb, chorus, Roland & Yamaha sysex dumps, etc.)
  • Updated libtool support for new mingw32 DLL build process
  • Patch from Steven Fuller to fix positioning effect on bigendian systems.
  • Fixed bug with MIDI volume in native Windows playback
  • Added SDL_RWops support for reading MOD files
  • Added .la files to the development RPM, fixing RPM build on RedHat 8

Enjoy!
-Sam Lantinga, Software Engineer, Blizzard Entertainment_______________________________________________
SDL-announce mailing list
SDL-announce at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl-announce

SDL_mixer 1.2.6 is now available!
http://www.libsdl.org/projects/SDL_mixer/

These have been built with new versions of Ogg Vorbis libraries, BTW.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Does it fix the problem that big gaps occurs
while looping ogg/mp3 playback ?

“Sam Lantinga” > SDL_mixer 1.2.6 is now available!

http://www.libsdl.org/projects/SDL_mixer/

Sam Lantinga <slouken devolution.com> writes:

SDL_mixer 1.2.6 is now available!
http://www.libsdl.org/projects/SDL_mixer/

Thanks greatly.
This release fixed the one major thing i’ve been waiting for - midi that plays
in stereo on windows! What a relief!!

On a minor note, there seems to be a GPF on exit with some .s3m, .it and .mod
files; though they play correctly. I don’t know enough about audio to guess
why. In some rare case, .it files sound out of tune, as though instruments were
playing out of sync.

Other than that, an excellent and very welcome release! (pun intended)

Congrats to Sam and all contributers. You guys rock!

SDL_mixer 1.2.6 is now available!
http://www.libsdl.org/projects/SDL_mixer/

Hello,
I still have problems playing .mod files through
SDL_Mixer: I get an ugly background crackling sound.
Is this a bug or should I do something special in
order to play .mod files correctly, that is not needed
for .mp3, .wav, … ?

That noise is NOT present when:

  • playing the same mods using mikmod (with libmikmod),
    soundtracker …
  • converting the mods to mp3 or wav and then using
    SDL_Mixer API (s/.mod/.mp3/g; in my code)

I have no problems using the SDL_Mixer API to play
other file types, so I could just convert all mods,
however I would like to use the special positioning
API semantics for mods in order to be able to play
specific patterns in the file.

I call

SDL_Init(SDL_INIT_VIDEO)
SDL_SetVideoMode(800, 600, 0, SDL_SWSURFACE)
SDL_InitSubsystem(SDL_INIT_AUDIO)

Mix_OpenAudio(MIX_DEFAULT_FREQUENCY,
MIX_DEFAULT_FORMAT,
2, 2048)
/*
I tried all combinations of the parameters:
[11025, 22050, 44100], [AUDIO_*], [1, 2], [1024, 2048]
*/

music = Mix_LoadMUS(filename);
/* music is a Mix_Music* */

Mix_PlayMusic(music, -1);

Return values are properly checked and dealt with.

I’m using OSS on a Linux 2.4.26 x86 system,

gcc 3.3.4,
libmikmod 3.1.10, 3.1.11a, 3.2.0b2 (tried all)
SDL_Mixer 1.2.5, 1.2.6 (tried both)
SDL 1.2.6, 1.2.7, 1.2.8 (tried all)

I upload one of the mods I created with soundtracker.
It is temporarily reachable at

http://cmdftp.sourceforge.net/chaos_theme.mod

Thank you

CLaudio> From: Sam Lantinga


Nuovo Yahoo! Messenger: E’ molto pi? divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
Scaricalo ora!
http://it.messenger.yahoo.it

try larger fragment sizes than 2048, like 4096 and 8192.

Opened audio at 22050 Hz 16 bit stereo, 4096 bytes audio
buffer
Couldn’t load song.s3m: Unrecognized music format
gdog at debian:~/build/sdl/SDL_mixer-1.2.6$

I’ve tried just about everything and MOD music support just
doesn’t work anymore. I tried telling it to link with
libmikmod, or with just the static version of mikmod
included. It cannot recognize the files. I then
downloaded the tarball straight from the website, compiled,
and I get this when trying to play an s3m file – it used
to work great!

I have been using this code in my projects forever, and I
only recently started getting this error.

I get unrecognized music format errors for any type of mod
file.

I can send you the mod file if you’d like.

Anything Appreciated,

thanks,

Paul Lowe
pauls_lists at tetravista.netOn Wednesday 15 December 2004 10:27 pm, Sam Lantinga wrote:

SDL_mixer 1.2.6 is now available!
http://www.libsdl.org/projects/SDL_mixer/

Changes since the last release:

  • Added support for using the system version of
    libmikmod * Added SDL_RWops support for reading Ogg
    Vorbis files * Added 4 and 6 channel surround sound
    output support * Added support for RMID format MIDI files
  • Improved timidity support (reverb, chorus, Roland &
    Yamaha sysex dumps, etc.) * Updated libtool support for
    new mingw32 DLL build process * Patch from Steven Fuller
    to fix positioning effect on bigendian systems. * Fixed
    bug with MIDI volume in native Windows playback * Added
    SDL_RWops support for reading MOD files * Added .la files
    to the development RPM, fixing RPM build on RedHat 8

Enjoy!
-Sam Lantinga, Software Engineer, Blizzard Entertainment


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


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

I just remembered I am using Debian unstable, and have
decided to withdrawl my bug inquiry.

I ended up just downloading and using an older version of
the library, and it works now.

Paul LoweOn Sunday 19 December 2004 06:02 pm, Jonathan Atkins wrote:

what version of libmikmod did you have installed on your
system? what OS?
what compiler?
what CPU?
What is the coconut laden airspeed of an african swallow?
yes, send an offending mod to me.
try downgrading to the previous version of SDL_mixer and
see if it still has the same problem.

-LIM-


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

what version of libmikmod did you have installed on your system?
what OS?
what compiler?
what CPU?
What is the coconut laden airspeed of an african swallow?
yes, send an offending mod to me.
try downgrading to the previous version of SDL_mixer and see if it still has the same problem.

-LIM-

24 mph. Trust me ;-)On Sunday 19 December 2004 06:02 pm, Jonathan Atkins wrote:

what version of libmikmod did you have installed on your system?
what OS?
what compiler?
what CPU?
What is the coconut laden airspeed of an african swallow?

I just remembered I am using Debian unstable, and have
decided to withdrawl my bug inquiry.

Please don’t. I’d like to know if this is a widespread problem or something
specific to Debian.

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

I just remembered I am using Debian unstable, and have decided to
withdrawl my bug inquiry.

Please don’t. I’d like to know if this is a widespread problem or
something specific to Debian.

I noticed problem on BeOS, but i don’t know if it’s the same thing.
New mixer worked ok for most aplication i tested, but one (RoadFighter
game) was going neverending loop (i didn’t recompile it, so maybe binary
compatibility was changed?).
I though that maybe it’s something with timidity (because i remember there
was some problem with it on BeOS), but no - even with older timidity (from
1.2.5) it was bad. On the other hand game uses just .wav and .ogg files,
so maybe timidity isn’t used at all :).
Other game using .ogg files (Wesnoth) worked ok.

Regards
ahwayakchih

Opened audio at 22050 Hz 16 bit stereo, 4096 bytes audio
buffer
Couldn’t load song.s3m: Unrecognized music format
gdog at debian:~/build/sdl/SDL_mixer-1.2.6$

I’ve tried just about everything and MOD music support just
doesn’t work anymore.

There was a typo in configure.in

Try this: http://www.libsdl.org/cvs/SDL_mixer-1.2.7.tar.gz

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment