Re: Audio Timing on iPhone
Re: Audio Timing on iPhone
On Tue, Jan 13, 2009 at 12:13:09PM +0900, David Cake wrote:
> I have a library that I am trying to port to the iPhone (a MIDI related
> one) that makes use of
> AudioGetCurrentHostTime() from CoreAudio/HostTime.h, which isn't
> available on the iPhone.
> Is there a recommended replacement for audio use on the iPhone, or
> should I just leap straight to using the system bus clock or similar?
Use mach/mach_time.h which is available on the iphone and is what
AudioGetCurrentHostTime() uses anyway. A quick google search turns up
the following:
http://developer.apple.com/qa/qa2004/qa1398.html
Best,
Marc
_______________________________________________
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