on 2/19/05 7:43 AM, Terry at [EMAIL PROTECTED] wrote:

> 
> I'm afraid this is a really dumb question, but.. DmDeleteDatabase appears to
> be causing a beep. Why? I don't know what the beep means. It's a longer and
> lower tone than the normal beep.
> 
> Thanks
> 
> Terry

Replying to my own post...

The beep was from clicking the button on the alert that is displayed just
before calling DmDeleteDatabase. Apparently, the DmDeleteDatabase causes the
sound to last longer. I imagine DmDeleteDatabase hogs the processor briefly
and prevents the sound handling code from executing and whatever frequency
is playing on the speaker continues until DmDeleteDatabase ends. This was on
a Zire 21. It was only noticeable when deleting databases larger than 1mb. I
added a 30 tick delay after the alert and before calling DmDeleteDatabase
and that fixes it. Weird, I really thought it was some error or the OS
trying to tell me something...




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

Reply via email to