At 19:55 2002-10-4 -0400, you wrote: >Palm OS 5 has an API SndGetDefaultVolume that returns sound amplitude. >However what the maximum amplitude value that can be set. I need to >implement volume slider and I need this information.
The Palm OS API documentation for this indicates that you should never call this or the SndSetDefaultVolume call on Palm OS 5. In the Preferences chapter, this value is noted as ranging from 0 to sndMaxAmp, a system constant defined in SoundMgr.h. SndStreamSetVolume looks to be the appropriate OS 5 call. Its amplitude values range from 0 to 32K, with special values reserved and indicated by the macros sndSystemVolume, sndGameVolume, and sndAlarmVolume. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
