Article # 359, added by Geoworks, historical record
| first | previous | index | next | last |

Calling UserStandardSound more than once rapidly.



Q. If I call UserStandardSound( SST_KEY_CLICK ) followed almost
   immediately by UserStandardSound( SST_WARNING ), the latter
   sound (SST_WARNING) is never heard. This happens on the
   PC Zoomer emulation.

A. This problem is only on the PC. The problem is because the
   app is requesting to play two sounds at the same time, but the
   PC hardware can only support one. The Casio Z-7000 and Tandy
   Z-PDA, however, have three separate tone generators, so the app
   could send UserStandardSound() three times before running
   into problems.

   If you want to have all the clicks cue up, you need to use a
   sound stream instead of calling UserStandardSound(). Or you
   need to make the app pause for 1 tick (via TimerSleep) before
   sending out the SST_WARNING.