Re: AUScheduledSoundPlayer (was AUAudioFilePlayer)
Re: AUScheduledSoundPlayer (was AUAudioFilePlayer)
- Subject: Re: AUScheduledSoundPlayer (was AUAudioFilePlayer)
- From: Christopher Ashworth <email@hidden>
- Date: Tue, 1 Jan 2008 18:38:01 -0500
Re-posting this, to make up for the bad timing of the original post.
I'll also slightly modify the question; After digging through the list
I learned that AUAudioFilePlayer won't do the kind of looping I need.
So now I'll ask as regards the AUScheduledSoundPlayer. (I assume that
makes no difference for the answer since the former is built on the
latter, but for the sake of completeness...)
- If frames are dropped during playback, does AUScheduledSoundPlayer
guarantee that later frames are synchronized with what should have
been their proper playback time, or does the "sample-accurate timing"
only apply to the first scheduled sample? Another way of putting
this is: Does AUScheduledSoundPlayer pause or skip when it can't keep
up?
- Related to above: If I have a number of separate AUGraphs, each with
an AUScheduledSoundPlayer, and I schedule each to start at the same
host time, will this effectively provide guaranteed sample-accurate
sync across all the AUGraphs?
Thanks!
Chris
On Dec 23, 2007, at 4:29 PM, Christopher Ashworth wrote:
Hi all,
I'm looking at rewriting my application to use AUAudioFilePlayer in
place of my own file playing class.
I have a few questions about its behavior:
- If frames are dropped during playback, does AUAudioFilePlayer
guarantee that later frames are synchronized with what should have
been their proper playback time, or does the "sample-accurate
timing" only apply to the first scheduled sample? Another way of
putting this is: Does AUAudioFilePlayer pause or skip when it can't
keep up?
- Related to above: If I have a number of separate AUGraphs, each
with an AUAudioFilePlayer, and I schedule each to start at the same
host time, will this effectively provide guaranteed sample-accurate
sync across all the AUGraphs?
- mStartFrame / mFramesToPlay: If the AUAudioFilePlayer performs
sample rate conversion to match the audio file to the unit's output
rate, what is the "coordinate system" of these properties? Both in
file frames? Both in output frames?
_______________________________________________
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