• 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: Rationale of AudioTimeStamp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rationale of AudioTimeStamp


  • Subject: Re: Rationale of AudioTimeStamp
  • From: Jeff Moore <email@hidden>
  • Date: Wed, 19 Feb 2003 14:57:31 -0800

The whole notion of being able to move between time bases (particularly between sample time and host time) easily is key to doing proper synchronization between multiple audio devices and other parts of the system like video. Hence, the AudioTimeStamp struct was designed to hold multiple simultaneous representations of the same point in time. The more simultaneous representations, the easier to translate to other time bases.

For instance, the HAL provides both the sample time and the host time when it calls IOProcs. This reflects the HAL's ability to easily convert between the two and can be exploited to provide good synch primitives.

On Wednesday, February 19, 2003, at 01:07 PM, Philippe Wicker wrote:

Hi everybody,

I'm beginning to play with AudioUnit and is for now looking at parameters passed to to AudioUnitRender method. The AudioTimeStamp puzzles me. Why is it a struct and not a union? The member mFlags is basically a 5 bit field, each bit validating one of the members of AudioTimeStamp. Does that mean that, as an extreme case, we could receive a parameter with all 5 fields meaningful? What can we expect in a "normal" use?

Thanks,

Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.



--

Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Rationale of AudioTimeStamp
      • From: "Andrea Gozzi" <email@hidden>
References: 
 >Rationale of AudioTimeStamp (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Re: strange error using the AudioFile API
  • Next by Date: Re: strange error using the AudioFile API
  • Previous by thread: Rationale of AudioTimeStamp
  • Next by thread: Re: Rationale of AudioTimeStamp
  • Index(es):
    • Date
    • Thread