Reg: Variation in sleep time of Audio Unit callback function.
Reg: Variation in sleep time of Audio Unit callback function.
- Subject: Reg: Variation in sleep time of Audio Unit callback function.
- From: Sangamanath <email@hidden>
- Date: Sat, 30 Mar 2013 12:36:15 +0530
Hi all,
I am working on the implementation of capture and
playing the data on MAC using the Audio Unit api's. I am able to capture the
data and resampling it to have data of 16K sampling rate. And using my
own resampler in callback itself which will resampel the data. Here I
am observing that there is always variation in the callback functions
getting invoked, and these variation is reaching upto 300 to 400 miliseconds. At
these instances I am lossing the data which is causing some problem in my
application. I also tried with removing the resampler function from
the callback function, but still I am facing the same
problem.
All I want to know is how to control the sleep
variation of the callback function, and how to recover the data when
there is variation in the sleep as the AudioBufferList structure is containing
only one AudioBuffer structure. Any help on this will be greatly
helpful.
Regards, Sangamanath.K
|
_______________________________________________
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