Re: SDK Available
Re: SDK Available
- Subject: Re: SDK Available
- From: Marc Poirier <email@hidden>
- Date: Tue, 13 May 2003 05:23:04 +0200 (CEST)
Thanks Bill, that effect -> N-to-N effect inheritence structure sounds
nice and sounds like it would quell all of the complaints raised. :)
Marc
On Mon, 5 May 2003, Bill Stewart wrote:
>
What a lot of email...
>
>
Just to reiterate this... this has *always* been the case with
>
AUEffectBase unless you don't use alot of the things that it does do...
>
(like use its kernels).
>
>
All that the recent revision has done is to make explicit and more
>
solid the validation of formats at Initialization and thus removing the
>
need to validate these in the render call (not a good place to do it!)
>
>
And yes, Marc, I also understand your point about reusing code and have
>
a vast personal dislike for the copy paste approach to class design...
>
>
Summing up what you and others have said - it seems to me that what we
>
really need is an inheritance structure that is something like:
>
AUBase
>
-> An Effect Base class the supports what ANY effect should support
>
(don't care about channels in-out)
>
-> An Extension that adds the kernels that are ideal for
>
using N-N processing
>
>
If you have subclassed AUEffectBase in the past to do N-M processing -
>
then you will need to fix your Initialization calls.
>
>
The code that Marc posted recently seems a fine and general way to do
>
this.
>
>
Bill
_______________________________________________
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.