AUKernelBase

Superclasses : none
Subclasses : none
Header : AUEffectBase

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.


Methods

Constructor


AUKernelBase

public constructor


 AUKernelBase(AUEffectBase *inAudioUnit);



Destructor


~AUKernelBase

public virtual destructor


 virtual ~AUKernelBase();

Destructor.



Format


GetSampleRate

public nonvirtual method


 Float64 GetSampleRate();

Gets the sample rate from the audio unit.



Parameters


GetParameter

public nonvirtual method


 Float32 GetParameter(UInt32 parameterIndex);

Gets the value of a global scope parameter from the audio unit.



Rendering


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.



Data


Other


mAudioUnit

protected instance variable


 AUEffectBase* mAudioUnit;

The owning audio unit. An instance of AUEffectBase.