Input callback timestamp reset and current sample time
Input callback timestamp reset and current sample time
- Subject: Input callback timestamp reset and current sample time
- From: <email@hidden>
- Date: Mon, 26 Sep 2005 21:49:54 -0700
Is there a way to get the current sample time for an output audio
unit? I install an input callback for the default output unit and when
it's called, I use the timestamp passed in, but there are times I need
to get the sample time outside of my input callback.
I tried using AudioDeviceGetCurrentTime, but every so often, the
timestamp passed to my input callback resets to 0 and starts counting
from there even though the time AudioDeviceGetCurrentTime returns does
not get reset. Is there something I'm doing wrong that is causing this
reset? Or is AudioDeviceGetCurrentTime the wrong way to get the
current sample time?
_______________________________________________
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