Hi,

*> Maybe the size of the buffer is different on the Sony than 
*> it is on the Tungsten.  Since the size of the buffer that 
*> you're requesting is just that, a request, you might 
*> actually be getting a smaller size.

I'm aware of that, and as you can see in the callback I'm taking
that into account by checking the received buffer size against
the actual buffer length.

*>  Also, you're resetting 
*> the sndstrP->sndbufpt each time to the start of the file.  
*> If this is your entire callback then if there is more data 
*> to process you'll never know because the sndstrP->sndbufpt 
*> keeps getting reset to the beginning everytime and not 
*> incremented by 'k' amount.  Of course you'll also need to 
*> determine when to stop the sound because eventually the 
*> sndbufpt will exceed your sndbuffer bounds.

Tha application takes care of that. If the buffer is full, it
also resets the sndstrP->sndbufpt. It's not a happy solution,
I know, but I should get some output (I do get it on my Clie).

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

Reply via email to