Re: DefaultOutputDevice timestamps
Re: DefaultOutputDevice timestamps
- Subject: Re: DefaultOutputDevice timestamps
- From: Jeff Moore <email@hidden>
- Date: Tue, 23 Oct 2001 12:25:03 -0700
on 10/22/01 11:22 PM, email@hidden <email@hidden> wrote:
>
in my callback method the AudioDevice sets the
>
kAudioTimeStampHostTimeValid in the mFlags field in the inOutputTime
>
parameter to true but the the inOutputTime->mHostTime field is only
>
updating once per couple of minutes after the callback is called many,
>
many times.
Hmm. This is puzzling. That field should increment by more or less the same
amount each time your IOProc is called.
I just wrote a little command line tool that installs an IOProc and prints
out the value of that field and I see that number constantly increasing. It
doesn't ever appear as the same number. The difference between my code and
your code is that mine is in C++ and yours is in ObjC.
Is your IOProc a plain vanilla C routine in a plain vanilla .c module?
--
Jeff Moore
Core Audio
Apple