Taken from the API docs:
"Using Sound Preferences on All Palm OS Devices

  Because the user chooses sound preference settings, your application
should respect them and adhere to their values. Further, you should always
treat sound preferences as read-only values. "
Also in the docs:
"The PrefSetPreference function writes to stored preference values without
affecting cached values. New values are read at the next system reset. The
system-use-only SndSetDefaultVolume function updates cached values but not
stored preferences. Applications should avoid modifying stored preferences
or cached values in favor of respecting the user's choices for preferences.
"

I don't know if this has changed, it could be why its not working.
http://oasis.palm.com/dev/kb/manuals/1780.cfm  may help.

----- Original Message -----
From: "Barry Peet" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 11:09 AM
Subject: Set system sound


> Ok, i have a question that must be answered before somewere, but i cant
find
> where...
>
> I'm trying to control the system sound volume from my application, using
>
> PrefSetPreference(prefSysSoundVolume, 0);
>
> (i.e. turn the system sound off)  seems to have no effect.  The
interesting
> thing is when I use that API in my application, I can go to the 'prefs'
> built-in application and the sound popup registers as 'off' - yet, system
> sounds are still generated.
>
> Anyone knows howto solve this problem?
>
> Barry
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to