Rob,

>-the system sound still plays at the previously set level.

Check the archives.  This isn't an issue just with the Treo 650; all devices do
this.  The catch here is that the OS reads this preference only after a reset
and caches the value.  So changes to the preference by itself has no effect
until the next soft reset.  Follow it by SysReset() and it will work.  :)

SndSetDefaultValue() is used to change the cached values, but is listed in the
OS5 SDK docs in the appendix for "System Use Only" functions while
simultaneously also being documented in the API reference section.  (An apparent
contriction by itself.)  However, in the API reference section under
compatibility it adds:  "Never call this function in Palm OS 5".

YMMV.

Doug

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

Reply via email to