SDL Mixer 1.2.4 shipped with my distribution, Mandrake Linux 9.1
SDL Mixer 1.2.5, built from scratch
Here is the test case :
[…]
Mix_VolumeMusic (0); /* <------ */
Mix_PlayMusic (Music,0);
[…]
Can anyone out there reproduce that behaviour ? Is it a bug or a feature ?
Yes, I had exactly the same problem. In my game “Rocks’n’Diamonds”,
it therefore looks like the following:
[…]
/* Mix_VolumeMusic() must be called after Mix_PlayMusic() –
this looks like a bug in the SDL_mixer library */
Mix_PlayMusic(mixer[audio.music_channel].data_ptr, -1);
Mix_VolumeMusic(SOUND_MAX_VOLUME);
[…]
This seems to be a bug in SDL_mixer! I think this was already reported
to the list by somebody some time ago.
If not: Can anyone of the SDL_mixer maintainers comment on this? Ryan?
Best regards,
Holger–
holger.schemel at telefonica.de
“Perl - the only language that looks the same before and after RSA encryption.”
Note to SDL_mixer maintainers : this bugfix should probably get a line in
"CHANGES" (1.2.6 section).On Monday 24 November 2003 18:25, Holger Schemel wrote:
Yes, I had exactly the same problem. In my game “Rocks’n’Diamonds”,
it therefore looks like the following:
[…]
This seems to be a bug in SDL_mixer! I think this was already reported
to the list by somebody some time ago.