Re: Virtual audio device glitches
Re: Virtual audio device glitches
- Subject: Re: Virtual audio device glitches
- From: Robert Bielik <email@hidden>
- Date: Thu, 14 Oct 2010 21:58:12 +0200
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 ?
TIA
/Rob
_______________________________________________
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