AudioDeviceGetCurrentTime fixed when?
AudioDeviceGetCurrentTime fixed when?
- Subject: AudioDeviceGetCurrentTime fixed when?
- From: Steve Checkoway <email@hidden>
- Date: Thu, 27 Oct 2005 20:54:26 -0700
I know that the bug where AudioDeviceGetCurrentTime could return a time
in the past was fixed in 10.4. Was this fix backported to any earlier OS
X versions, via quicktime updates for example?
Would this code trigger the same bug?
AudioTimeStamp inTime;
AudioTimeStamp outTime;
inTime.mHostTime = AudioGetCurrentHostTime();
inTime.mFlags = kAudioTimeStampHostTimeValid;
outTime.mFlags = kAudioTimeStampSampleTimeValid;
AudioDeviceTranslateTime(mDevice, &inTime, &outTime);
return int64_t(outTime.mSampleTime);
If so, is there another way to get the current time as (should be)
returned by AudioDeviceGetCurrentTime()?
- Steve
_______________________________________________
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