• 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: Virtual audio device glitches
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual audio device glitches


  • Subject: Re: Virtual audio device glitches
  • From: Jeff Moore <email@hidden>
  • Date: Thu, 14 Oct 2010 13:05:08 -0700

You don't have to. The host time in the HAL uses the same time base.

--

Jeff Moore
Core Audio
Apple



On Oct 14, 2010, at 12:58 PM, Robert Bielik wrote:

Jeff Moore skrev 2010-10-14 19:51:
The timebase is the one that clock_get_uptime() already returns.

Thnx, I checked the IOAudioEngine code and found out after posting. Sorry ;)

BTW, if all you want to do is make the current time be the new time stamp, you can just pass NULL as the time stamp argument to IOAudioEngine::takeTimeStamp().

Since I pipe audio in a private API, I can make use of the CoreAudio timestamp given to me in the OutputIOProc (given to AudioDeviceAddIOProc(...)).

But how do I convert the units in AudioTimeStamp.mHostTime into clock_get_uptime units ?

 _______________________________________________
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: 
 >Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Jeff Moore <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)
 >Re: Virtual audio device glitches (From: Jeff Moore <email@hidden>)
 >Re: Virtual audio device glitches (From: Robert Bielik <email@hidden>)

  • Prev by Date: Re: Virtual audio device glitches
  • Next by Date: Re: Virtual audio device glitches
  • Previous by thread: Re: Virtual audio device glitches
  • Next by thread: Re: Virtual audio device glitches
  • Index(es):
    • Date
    • Thread