AUInlineEffectBase Process methods
AUInlineEffectBase Process methods
- Subject: AUInlineEffectBase Process methods
- From: Marc Poirier <email@hidden>
- Date: Wed, 12 Feb 2003 18:46:01 +0100 (CET)
Hello. I'm a little confused by the two Process methods in the
AUInlineEffectBase class:
protected:
/*! @method Process */
void Process(const Float32 * srcp, Float32 * dstp, UInt32 frames, UInt32 channels);
public:
/*! @method Process */
virtual ComponentResult Process(AudioUnitRenderActionFlags & flags, AudioBufferList & buffer, UInt32 frames);
The first one (the protected one) is not even defined anywhere. There's
only a prototype in the class def in the header. So I guess it's just
stray debri or something to come later. The second one (the public
virtual one) seems a little pointless as far as I can tell:
ComponentResult AUInlineEffectBase::Process(AudioUnitRenderActionFlags &
flags, AudioBufferList & buffer, UInt32 frames)
{
return ProcessBufferLists(flags, buffer, buffer, frames);
}
It's just calling ProcessBufferLists, which is already done by
AUInlineEffectBase::RenderBus, and moreover it is not ever called by any
of the AU*Base methods, so I'm not sure what it's function is meant to be?
I seem to be able to safely ignore these methods and just build inline
effects by simply inheriting from AUInlineEffectBase just like I would
AUEffectBase and doing everything else the same, but I'm just a little
puzzled by the class and wonder if maybe I'm missing something
important...
Thanks,
Marc
_______________________________________________
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.