On Sun, 6 Jun 2004 16:57:12 -0500, "Noel Grover" <[EMAIL PROTECTED]> wrote:
>Hello Everyone, > >We have a problem with the Tungsten T model and sound recording: > >1) We use the sndStreamCreateExtend() api call only once for recording and >only once for playback inside our app. > >2) The Starting/Stopping of the playback stream works 100% inside the >callback. > >3) For the Recording Stream, it works the first time, but when SndStreamStop >is called, SndStreamStart does not call the callback procedure anymore... I don't about that particular bug, but I just want to confirm that the Tungsten inplementation of streaming sound is buggy. For many months I have been trying to find a reliable way to stop a sound stream recording on a Tungsten T2. At first I was using SndStreamDelete, relying on the implicit SndStreamStop that is supposed to be made. But that produced a hangup about 1% of the time (randomly). Then I added an explicit SndStreamStop call before my SndStreamDelete. It still hung up occasionally. Then I added a busy-wait between SndStreamStop and SndStreamDelete - equivalent to about two buffers worth of sound. Finally, the hangups seemed to go away. Now, the hangups are coming back, as my application is growing more complex. I have posted about this before and have not found a work-around. Robert Scott, Ypsilanti, MI (reply through this forum, not by e-mailing me directly) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
