Program to set pda volume?

Discussion in 'Questions (Windows Mobile)' started by suellen, Apr 21, 2009.

  1. suellen

    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
     
  2. derez

    derez Expert Licensed User

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

    Attached Files:

  3. Discorez

    Discorez Member Licensed 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...
     

    Attached Files:

Loading...
  1. 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.
    Dismiss Notice