• 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: How does one update a view position during a core audio render callback?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How does one update a view position during a core audio render callback?


  • Subject: Re: How does one update a view position during a core audio render callback?
  • From: "Patrick J. Collins" <email@hidden>
  • Date: Sun, 08 Mar 2015 09:42:12 -0700 (PDT)

> 2) Playback position is a special case where you don't even need to
> pass data. The CoreAudio time line will progress in a predictable way.
> You merely need to make a note of the start time, and then all time
> stamps afterwards are relative to your start time, and thus reflect
> your playback position. Loops will require an update to the start
> time. There is a header that details the timing calls. If you want to
> get fancy, you can even calculate the presentation time of your
> AudioUnit chain, to adjust for the difference between the time audio
> data is placed in the buffer versus when it is actually heard, and
> then your view position will be quite accurate.

I don't see anything in <CoreAudio/HostTime.h> other than:
  AudioGetCurrentHostTime
  AudioGetHostClockFrequency
  AudioGetHostClockMinimumTimeDelta
  AudioConvertHostTimeToNanos

How would I get the "time line" of the specified audiounit?


Patrick J. Collins
http://collinatorstudios.com
 _______________________________________________
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


  • Follow-Ups:
    • Re: How does one update a view position during a core audio render callback?
      • From: Brian Willoughby <email@hidden>
References: 
 >How does one update a view position during a core audio render callback? (From: "Patrick J. Collins" <email@hidden>)
 >Fwd: How does one update a view position during a core audio render callback? (From: "Dave O'Neill" <email@hidden>)
 >Re: Fwd: How does one update a view position during a core audio render callback? (From: "Patrick J. Collins" <email@hidden>)
 >Re: How does one update a view position during a core audio render callback? (From: Iain Holmes <email@hidden>)
 >Re: How does one update a view position during a core audio render callback? (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Re: How does one update a view position during a core audio render callback?
  • Next by Date: Re: Fwd: How does one update a view position during a core audio render callback?
  • Previous by thread: Re: How does one update a view position during a core audio render callback?
  • Next by thread: Re: How does one update a view position during a core audio render callback?
  • Index(es):
    • Date
    • Thread