Re: how to access HAL buffer timestamps when using AUHAL?
Re: how to access HAL buffer timestamps when using AUHAL?
- Subject: Re: how to access HAL buffer timestamps when using AUHAL?
- From: "Ross Bencina" <email@hidden>
- Date: Tue, 28 Jul 2009 05:21:15 +1000
Jeff and Bill wrote:
True, but I thought the output AU had a means for conveying the input
time stamp too, although I don't know what the API for doing it is.
its in the callback that you add when you enable input - AUHAL gives you
a callback to tell you that input is available, so you then call
AudioUnitRender to get the input. The time stamp provided in the callback
is the time stamp from the HAL for the input time
Thanks Bill
You are of course correct. I got a bit confused because my code here is
using one callback proc for both render and input and switching behavior
using some flags (hey I didn't write this thing, there's even a comment
"this is where the magic happens" :-)
Would I be correct to assume that in the full-duplex case, the AUHAL
InputCallback and RenderCallback are invoked during the same i/o timer cycle
and are hence synchronised?
Thanks
Ross.
_______________________________________________
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