• 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
Input callback timestamp reset and current sample time
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Input callback timestamp reset and current sample time
      • From: Jeff Moore <email@hidden>
    • Re: Input callback timestamp reset and current sample time
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: ioErr with AudioFileReadBytes?
  • Next by Date: Error -10838 calling MIDIClientCreate
  • Previous by thread: Re: ioErr with AudioFileReadBytes?
  • Next by thread: Re: Input callback timestamp reset and current sample time
  • Index(es):
    • Date
    • Thread