• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DefaultOutputDevice timestamps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: DefaultOutputDevice timestamps
      • From: email@hidden
References: 
 >Re: DefaultOutputDevice timestamps (From: email@hidden)

  • Prev by Date: Re: PBControlAsync() in OS X
  • Next by Date: Re: DefaultOutputDevice timestamps
  • Previous by thread: Re: DefaultOutputDevice timestamps
  • Next by thread: Re: DefaultOutputDevice timestamps
  • Index(es):
    • Date
    • Thread