On Mon, 17 Nov 2003 13:29:51, Monika Kauntz writes: >Yes I do understand the theory of this, my problem is that I do not generate >the data in the callback, it is >generated elsewhere in my code so when I call SndStreamStart it blocks and >therefore I cannot get back to my >program to get more data and interruptions in the audio occur. >Is there a way to get around this? >Am I missing something?
Yes. Generate enough data before the callback is called, and then keep generating at least as much data as the callback continuously requires. The callback should never block, even if it has to generate some filler sound (silence if necessary). IMHO. YMMV. Ron Nicholson HotPaw Productions http://www.hotpaw.com/rhn/palm -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
