Hi palm-dev-forum,

I'm experimenting with the new Palm OS 5 audio library API and I'm
a bit confused.  My app has two audio streams, one in and one out,
and each has its own callback function.  My app passes data it gets
from the input stream to the output stream successfully, but the
audio that I hear in my headphones is stuttery.  I added counters to
my callbacks to see how frequently they get called and I discovered
that the input callback gets called about 3 times as frequently as
the output callback does.  

Each callback is initalized with the same parameters (except for
the stream ref and the direction, of course) and the frameCount
passed to each callback on every call is always the same for both.
But in the space of 8 output callback calls, the input callback will
be called 24 times.  I've matched the sample rate and data type 
to my sound card input settings (all of this is taking place in the
simulator on my PC).  

Any ideas?

Thanks,
Chris


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

Reply via email to