Looping MP3s fade, looping WAVs don't

Hi all,

I fixed SDL_mixer-1.0.5 so that sound files loop properly. Now that that
works, I have noticed a difference in the way that MP3s and WAVs fade out.

When an MP3 is playing and Mix_FadeOutMusic() is called, everything is
fine: the sound fades out over the specified interval and then the playback
stops gracefully.

When a WAV is playing and Mix_FadeOutMusic() is called, the music continues
playing at full volume for the time specified in the call to
Mix_FadeOutMusic(), then stops playing abruptly (but also terminates
without errors).

Anyone know why this might be?

Thanks for any ideas,

Steve Madsen
H2Eye Ltd.
24-28 Hatton Wall
London EC1N 8JH
Tel: +44 (0) 207 404 9600
Fax: +44 (0) 207 404 9490
Email: @Steve_Madsen