There is some illogical thing with volumes on Treo650: there is no
volume setting for alarms in preferences and it seems that alarms take
system volume setting: e.g. Tasks: if system volume is off no sound is
produced.
I am writing application where can I get over this:
SndGetDefaultVolume (NULL, &old_vol, NULL);
new_vol = sndMaxAmp;
SndSetDefaultVolume (NULL, &new_vol, NULL);
SndPlaySystemSound(sndAlarm);
SndSetDefaultVolume (NULL, &old_vol, NULL);
Unfortunately, system volume stays at level higher than zero/off. But in
preferences panel it shows system volume OFF!
Is there any way how to correctly get and back restore volume settings
for Treo650?
Thanks,
Hynek Sladky
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/