Hi,

Will the following work for audio playback. Has anybody tried something of 
this sort ????

1. Allocate memory for a  a buffer which will hold wav data
2. Start the Stream using SndStreamStart after doing the SndStreamCreate
3. After SndStreamStart, start filling up data into the  buffer
4. In the callback read the data from the buffer(passed as UserData) and 
copy into into the passed  callback buffer

I always get garbled sound when I do this. If I am using a FileStream for 
getting data in the callback  then it works fine. I am using T|C 
simulator.

thanks & regards,
rajan


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

Reply via email to