[EMAIL PROTECTED] wrote:
Hi there is code of mine: static Err audioCallbackFunc(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 frameCount) { Err error; Int16 *myBuffer=(Int16 *)bufferP; Int16 *myBuffer2=(Int16 *)UserDataP;UInt32 i; for (i=0;i<frameCount;++i) { myBuffer[i]=myBuffer2[i]; } error=errNone; return error; } static UInt16 StartApplication (void)//check database, register base and check system settings { Err error; hRes2=DmGetResource('tbin',kRaw1000); if (hRes2!=NULL) { snd=MemHandleLock(hRes2); }///audioSndStreamRef streamP2; error=SndStreamCreate(&streamP2,sndOutput,11025,sndInt16Little,sndMono/*sndStereo*/,&audioCallbackFunc,snd,8560/2,false);
&audioCallbackFunc ??? Why the "&"?? -- ------------------------------------------------------------------------- Henk Jonas [EMAIL PROTECTED] Palm OS ® certified developer Please contact me, if you need an off-site contract worker. ------------------------------------------------------------------------- -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
