class AUKernelBase
This is the base class for signal processing kernels of AUEffectBase audio unit subclasses. Each stream passing through an AUEffectBase will have an associated instance of AUKernelBase. You will subclass this class to provide the signal processing for your audio unit.
AUKernelBase |
public constructor |
AUKernelBase(AUEffectBase *inAudioUnit);
~AUKernelBase |
public virtual destructor |
virtual ~AUKernelBase();
Destructor.
GetSampleRate |
public nonvirtual method |
Float64 GetSampleRate();
Gets the sample rate from the audio unit.
GetParameter |
public nonvirtual method |
Float32 GetParameter(UInt32 parameterIndex);
Gets the value of a global scope parameter from the audio unit.
Process |
public pure virtual method |
virtual void Process( const Float32* inSourceP, Float32* inDestP, UInt32 inFramesToProcess, UInt32 inNumChannels, bool& ioSilence ) = 0;
Your signal processing code should go in an override of this method.
Reset |
public virtual method |
virtual void Reset();
Override this method to reset your unit for restarting rendering.
mAudioUnit |
protected instance variable |
AUEffectBase* mAudioUnit;
The owning audio unit. An instance of AUEffectBase.