missing frame in clipOutputSamples and convertInputSamples
missing frame in clipOutputSamples and convertInputSamples
- Subject: missing frame in clipOutputSamples and convertInputSamples
- From: peoplestank <email@hidden>
- Date: Fri, 29 Sep 2006 15:55:28 -0700 (PDT)
Hi all-
I am (still) working on a USB audio driver (dervied from the Apple USB Audio reference driver) and running into a problem where the value of firstSampleFrame to either convertInputSamples or clipOutputSamples in my audio engine is unexpected. The expectation the "next" call should set firstSampleFrame to (firstSampleFrame + numSampleFrames) of the previous call. Sometimes, however, firstSampleFrame is up 100 or so samples off.
Once this happens, my sample buffers and USB frame lists get out of alignment and the audio starts glitching.
How does CoreAudio compute firstSampleFrame before calling clipOutputSamples/convertInputSamples?
Thanks
-A
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden