Re: DeferredRenderer and Varispeed AU questions
Re: DeferredRenderer and Varispeed AU questions
- Subject: Re: DeferredRenderer and Varispeed AU questions
- From: William Stewart <email@hidden>
- Date: Wed, 16 Aug 2006 14:37:26 -0700
On 15/08/2006, at 7:01 PM, Ethan Funk wrote:
Two quick questions, first regarding the Varispeed AU:
Can I use the Varispeed AU to perform a fixed ration of decimation
or interpolation? For example, if I ask it for 1280 frames, and
set it kVarispeedParam_PlaybackRate property to 1.25 will it always
pull 1024 frames from it's source? If so, what happens if I change
kVarispeedParam_PlaybackRate before I ask it to render again? Will
it perform a pull on it's source with a request for a new number of
frames equal to the new ratio?
There's no guarantee about the exact number if will pull for - over
the long term the average pull size will be what you'd expect given
the playback rate.
Second question regarding DeferredRenderer AU:
When kAudioUnitProperty_DeferredRendererPullSize is larger then a
render request, how does the AU behave? I assume it returns the
requested samples and stores the extra samples for next time,
yes
but at some point, it will be ahead a full
kAudioUnitProperty_DeferredRendererPullSize number of frames. Does
it just skip a pull on it's source at this point?
No - it doesn't translate a all to its AudioUnitRender call to an
automatic pull for input - it won't get ahead and just drop frames or
skip input pulls - it will just call for input more or less
frequently based on how it is set up.
Bill
Thanks,
Ethan...
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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