Fri, 05 Jun 2009 16:07:08 +0000SDL_mixer: Added decoder enumeration API.
Ryan C. Gordon [Fri, 05 Jun 2009 16:07:08 +0000] rev 390
SDL_mixer: Added decoder enumeration API.

Thu, 04 Jun 2009 19:12:01 +0000Fixed whitespace.
Ryan C. Gordon [Thu, 04 Jun 2009 19:12:01 +0000] rev 389
Fixed whitespace.

Wed, 04 Mar 2009 09:35:32 +0000Updated config.guess and config.sub
Sam Lantinga [Wed, 04 Mar 2009 09:35:32 +0000] rev 388
Updated config.guess and config.sub

Tue, 17 Feb 2009 04:37:19 +0000Yeah, Ryan fixed this bug...
Sam Lantinga [Tue, 17 Feb 2009 04:37:19 +0000] rev 387
Yeah, Ryan fixed this bug...

Mon, 08 Dec 2008 00:27:32 +0000Updated copyright date
Sam Lantinga [Mon, 08 Dec 2008 00:27:32 +0000] rev 386
Updated copyright date

Tue, 12 Aug 2008 13:02:27 +0000Fix bug 566, using wrong name for variable
Patrice Mandin [Tue, 12 Aug 2008 13:02:27 +0000] rev 385
Fix bug 566, using wrong name for variable

Sun, 09 Mar 2008 06:35:09 +0000MUS_FLAC was stuck in the middle of the Mix_MusicType enum, instead of the end,
Ryan C. Gordon [Sun, 09 Mar 2008 06:35:09 +0000] rev 384
MUS_FLAC was stuck in the middle of the Mix_MusicType enum, instead of the end,
which would break binary compatibility.

Fixes Bugzilla #565.

Thu, 06 Mar 2008 15:02:39 +0000My fix for this reported issue... --ryan.
Ryan C. Gordon [Thu, 06 Mar 2008 15:02:39 +0000] rev 383
My fix for this reported issue... --ryan.

Subject: Bug in SDL_mixer
Date: Thu, 6 Mar 2008 16:46:45 +1300
From: Karl Hendrikse

I really don't know if I'm sending this to anywhere near the right
person, but I believe I have found a bug in SDL_mixer.

In mixer.c, in the mix_channels function, line 190 should be moved
outside the if statement. This will reset the volume of a channel at the
end of any fade, not just after a fade out.

The way the code works now assumes the volume will always be correct at
the end of a fade in, but in reality it will usually never get there
because the last time the volume gets updated, the fade is not quite
complete (ie. the volume is always up to one frame behind where it would
ideally be). This issue gets worse as the fadein time decreases (since
the jump in volume each iteration is greater).

Wed, 27 Feb 2008 07:31:03 +0000Austen Dicken - Tue Feb 26 23:28:27 PST 2008
Sam Lantinga [Wed, 27 Feb 2008 07:31:03 +0000] rev 382
Austen Dicken - Tue Feb 26 23:28:27 PST 2008

Ok, here is the patch I made for FLAC support.

I have tested it relatively thoroughly and currently the patch allows:
1. Pre-loading FLAC files and playing them via LoadWAV
2. The patch allows for FLAC support in the LoadMUS setting as well as:
* Pause / Resume
* Volume control
* Seeking

I also did a little benchmarking by comparing memory/cpu usage of playmus to
that of mplayer, and the results were very good. playmus typically took about
half the RAM as mplayer, though that may be attributed to mplayer being a more
"bulky" program. As such I would say that the two are probably about equal in

Also, it is important to note that, similar to the OGG support currently
built-in, my FLAC patch only supports 16 bit stereo-encoded sound. Also, it
is only for Native FLAC (standard) and not the derivative, Ogg-FLAC.

I have tried to find a simple way to detect Ogg-FLAC files, as the only
difference between Ogg-FLAC and Native FLAC support is changing the init_
function call, but after digging a little deeper it seems that Ogg-FLAC is
basically FLAC wrapped in an Ogg transport layer, so it would be better to have
a way to read the Ogg transport layer which then reads the inner audio files
according to the proper codec.

But anyway, that's another job for another day! For now this should provide
Native FLAC support!

Tue, 26 Feb 2008 11:46:22 +0000Date: Sat, 16 Feb 2008 20:59:24 +0100
Sam Lantinga [Tue, 26 Feb 2008 11:46:22 +0000] rev 381
Date: Sat, 16 Feb 2008 20:59:24 +0100
From: Tilman Sauerbeck
Subject: [PATCH] Allow SDL_mixer to open wave streams via SDL_rwops

the current version of SDL_mixer can only load WAVE streams directly
from files. In my application I have the need to load them from an
SDL_RWops structure. The attached patch adds that feature to SDL_mixer.