Hi,
I changed the strategy where by I prebuffer the data. But, What works fine
in a normal app does not work in a shared library. I get the same sound
but chopped.
Has anybody got this working in a shared library.
Thanks a lot for your time.
regards,
rajan
--------------------------------------------------------------------------
Hi rajan,
How/Where are you filling the buffer. I am using the same functions
for
playing audio files. Its working fine.
----- Original Message -----
From: <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, October 06, 2003 7:57 PM
Subject: Sound Stream question
> 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/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/