Re: Number of frames for AU rendering
Re: Number of frames for AU rendering
- Subject: Re: Number of frames for AU rendering
- From: William Stewart <email@hidden>
- Date: Tue, 20 Apr 2004 14:48:47 -0700
On 20/04/2004, at 6:45 AM, Martin Hairer wrote:
>
Hi,
>
>
When rendering a certain number of frames (say N) with an AU of type
>
kAudioUnitType_MusicEffect or kAudioUnitType_Effect, is it guaranteed
>
that the input callback which provides the original frames to be
>
processed
>
will be asked for exactly N frames?
That is the semantic for effects. ie. They are *expected* to be able to
be used in a real-time context.
>
Is this also true for the standard
>
kAudioUnitType_FormatConverter unit if no resampling is required?
No. The semantic of a converter unit is that there is no direct
relationship that can be guaranteed between in and out frames. Of
course in some situations this will be the case.
Bill
>
It
>
seems to me that this is the case (at least it is the case on those
>
units for
>
which I checked), but I would like to know if I can rely on this
>
behaviour for
>
third-party Audio Units as well.
>
>
Thanks,
>
>
Martin
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.