Re: AudioTimeStamp in AURenderCallback
Re: AudioTimeStamp in AURenderCallback
- Subject: Re: AudioTimeStamp in AURenderCallback
- From: "Dave O'Neill" <email@hidden>
- Date: Mon, 30 Mar 2015 12:10:13 -0700
Old thread, but useful info. I have measured the relationship between mHostTime and mSampleTime (on iOS), and it appears that for a timestamp in the render callback mHostTime represents the machine time of the last sample in the callback. So to get the corresponding mach_time of the first sample in the callback (mSampleTime) you need to subtract (inNumberFrames * samplesToTicks) from mHostTime.
_______________________________________________
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