No problem, here it comes :]
this is my callback
Err audioEXCallback (void *userDataP, SndStreamRef stream,void *bufferP, UInt32
*bufferSizeP)
{
Err error;
MemMove(bufferP,userDataP,4000);
error=errNone;
return error;
}
My stream creation line:
SndStreamCreateExtended (&streamP2,sndOutput,sndFormatPCM,8000, sndInt16Little,
sndMono,audioEXCallback, &table[0], SND_SIZE, false);
there was: table, &table, &table[0], just for test. Variable table is table of
shorts around 9000 elements
Other problem is, I don't use serial link :]
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/