I have a question regarding the relationship of The AudioTimeStamp argument
to an AURenderCallback to the time the callback is called.  Does
.mSampleTime represent the first or last sample in ioData? And likewise,
does .mHostTime represent the time at which the last sample will be played
or the first sample. This came up when I was comparing mach_absolute_time()
with .mHostTime, mach_absoluteTime returns a time earlier than .mHostTime
by more than a full render-cycle’s time.

eg.
this is within the render callback:
 .mTimeStamp 596308229634
mach_absolute 596307650014

and the next callback:
.mTimeStamp  596308786905
mach_absolute 596308201079

You can see that the machine time in the second callback is even earlier
than the host time of the first.

Thanks for any help,
Dave
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to