I need to be able to mute all sound from my program, and also reset it later. I tried using the fmod functions, it doesn't seem to quite do anything, I think it is more for just playing sounds than controlling the speaker.
Thanks, Suellen
Maybe too late, but...
I create simple SoundManager library (see attach)
With this library you can get and set system volume value.
It's worked on my device.
Methods:
----------- New1 - initialise SetSpeakerVolume (Volume as Integer) - Value must be integer number 0-5 GetSpeakerVolume() as integer - returns system volume in range 0-5 SetVibrateOnly() - disable sounds and sets "only vibrate" mode SoundOn() - sounds enabled SoundOff() - sounds disable SaveSound() - saves the current sound mode RestoreSound() - recovers saved sound mode
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.