[SDL] SDL_mixer's Mix_VolumeMusic didn't work

benang at cs.its.ac.id benang at cs.its.ac.id
Mon Nov 6 00:25:03 PST 2006


Hi, currently I have a situation with SDL_mixer. I tried to reduce the
volume of the music. So I tried to set the volume with :
"Mix_VolumeMusic(20)". But it didn't work. The music was still playing at
full volume. I tried again this time with: "Mix_VolumeMusic(0)" (to
disable the music). And it's still playing at full volume. I tried to
"cout"-ed the current volume and it showed the right volume (20 in the
first attempt and 0 in the second attempt). Is this a hardware
compatibility issue? Cause when I tried to run it in another machine, the
volume didn't have any problem at all. How do I solve this problem?

Thanks alot in advance.

Fare thee well,
Bawenang R. P. P.

----------------

"I live for my dream. And my dream is to live my life to the fullest."





More information about the SDL mailing list