Re: Input callback timestamp reset and current sample time
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