[SDL] SDL_mixer's Mix_VolumeMusic didn't work
benang at cs.its.ac.id
benang at cs.its.ac.id
Sun Nov 12 20:26:41 PST 2006
Peter Mulholland said:
> Hello benang,
>
> Thursday, November 9, 2006, 1:02:44 AM, you wrote:
>
>> Hi, actually this mail has been sent a few days ago. But seeing that the
>> mailing list had a trouble befor, I posted it again.
>
>> 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?
>
> You don't mention on what platform this is. You also don't mention
> what kind of music you're trying to play.
>
> Under Windows, I don't get this problem with WAV, MP3 or Vorbis music.
>
> --
> Best regards,
> Peter mailto:darkmatter at freeuk.com
Sorry for the late reply. Well, currently I'm developping and production
both in Linux SuSE 10.0. But the machine for developping and production
are not the same. For developping, I used a Pentium 4 PC with Soundblaster
soundcard. While in the production it's an Embedded Epia Mini ITX ML
series with VIA VT1616 6 channel AC' 97 codec.
Thanks.
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