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

Re: Input callback timestamp reset and current sample time


  • Subject: Re: Input callback timestamp reset and current sample time
  • From: <email@hidden>
  • Date: Thu, 29 Sep 2005 19:19:34 -0700

> Everything you say below says to me that you don't need to do any of
> this time translation stuff. You don't even need to ask about the
> current time at all. It is just overkill for just playing back a
> stream of data without regard to anything else.

Sorry if my reply was confusing, but I do need to sync playback to an
external source. I essentially need to say "At exactly 5 PM UTC, play
sample 1", at 5 PM and 22.6 microseconds, play sample 2, etc., but as
a continuous stream of audio without little gaps due to rounding and
timing granularity errors since 1 sample isn't exactly 22.6
microseconds. This is why I'm creating a mapping between this absolute
timeline and the sample clock timeline of CoreAudio. This all works
pretty well until the audio device resets.

I looked at AUScheduledSoundPlayer, but it appears to require 10.4 or
later. I need to run on earlier systems.
 _______________________________________________
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>
References: 
 >Input callback timestamp reset and current sample time (From: <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: Jeff Moore <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: Jeff Moore <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: Jeff Moore <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: Jeff Moore <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: <email@hidden>)
 >Re: Input callback timestamp reset and current sample time (From: Jeff Moore <email@hidden>)

  • Prev by Date: Re: Input callback timestamp reset and current sample time
  • Next by Date: MIDI USB Class driver problem from reset
  • Previous by thread: Re: Input callback timestamp reset and current sample time
  • Next by thread: Re: Input callback timestamp reset and current sample time
  • Index(es):
    • Date
    • Thread