Program to set pda volume?

suellen

New Member
Licensed User
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
 

derez

Expert
Licensed User
Longtime User
I used the attached, which I found in the internet somewhere.
Activation from the program by shell command
 

Attachments

  • VolumeCtrl.zip
    9.3 KB · Views: 262

Discorez

Member
Licensed User
Longtime User
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

Strictly don't criticize - I the beginner...
 

Attachments

  • SoundManager.zip
    2.5 KB · Views: 208
Top