• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Audio Timing on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Timing on iPhone


  • Subject: Re: Audio Timing on iPhone
  • From: Marc Vaillant <email@hidden>
  • Date: Mon, 12 Jan 2009 23:35:12 -0500
  • Mail-followup-to: David Cake <email@hidden>, email@hidden

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

References: 
 >Audio Timing on iPhone (From: David Cake <email@hidden>)

  • Prev by Date: Re: Sequencer as AU
  • Next by Date: Re: Pitch shift with Core Audio/RemoteIO on iPhone
  • Previous by thread: Audio Timing on iPhone
  • Next by thread: Advice on the best approach for a newbie
  • Index(es):
    • Date
    • Thread