[SDL] Cannot change Mix_Music volume
benang at cs.its.ac.id
benang at cs.its.ac.id
Mon Jan 29 22:51:27 PST 2007
Hi, actually I've asked this before. But because I still have other things
that need to be worked on, I decided to skip it for later. And now, I
finally decided to ask it again. In my application, I couldn't set the
volume of the music with Mix_VolumeMusic. Strangely though, not all
computer acts this way. When I tried it with a computer with Sound Blaster
Value sound card, it worked fine. But when I tried it on a computer with
onboard VIA VT1616 6 channel AC' 97 codec sound card, it didn't work.
Actually, I can work around this by loading the music as Mix_Chunk rather
than Mix_Music and set the distance of the channel accordingly (I've tried
setting the position of sound effects' channel and it was successful). But
that requires some design changing.
So, before I do it that way, I'm just wondering, is there any other way
which still use Mix_Volume?
Thanks in advance.
Fare thee well,
Bawenang R. P. P.
----------------
ERROR: Brain not found. Please insert a new brain!
Do nothing which is of no use. - Miyamoto Musashi.
"I live for my dream. And my dream is to live my life to the fullest."
More information about the SDL
mailing list