Hi Robert,

Thanks for the post as well.

Yeah, we actually tried that as well. Had the streams being
deleted/stopped/with while loop. Still hang-ups occurred.

>From all the insight that I can see, if you just use the create/delete once
in a app it will prevent lockup, because of os bug with heap allocations.
So, we need to find a way to make the callback work more than once on a
recording stream. If that is solved, the work around is not to bad,
dependant on what you are doing in your applications.

If you have time, try to implement just the create and delete once, use the
start/stop and see what happens. I would like to have you confirm this bug
as well "Callback executed only once on input stream".

Thanks for your time on this,
Noel Grover


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Robert
> Scott
> Sent: Monday, June 07, 2004 10:34 AM
> To: Palm Developer Forum
> Subject: Re: SndStreamStart/Stop for recording bug?
>
>
> 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/


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

Reply via email to