[SDL] Mute for SDL_Mixer
Gabriel Gambetta
mystml at adinet.com.uy
Mon Apr 28 17:22:27 PDT 2008
I want to implement Mute functionality in my framework. I haven't found
anything that does it in SDL_Mixer.
- Setting the music and channels volume to 0 has the problem that I lose the
previous volume of the channels and music when I want to unmute.
- Mix_PauseChannel and Mix_PauseMusic don't have the volume problem, but its
effect is similar to a PAUSE button, not to a MUTE button.
What's the canonical/easiest way to implement mute in SDL_Mixer?
--Gabriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080428/0adea974/attachment.htm
More information about the SDL
mailing list