Re: Virtual audio device glitches
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