All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | Protected Member Functions | List of all members
Effect Class Reference
Inheritance diagram for Effect:
ChambFilter Delay MoogFilter Noise RingMod VarDelay

Public Member Functions

virtual void prepareToPlay (double, int)
 
virtual void processBlock (const float *, float *, int)
 
virtual void processInplace (float *data, int numSamples)
 

Protected Member Functions

void enableInplaceProcessing (bool shouldBeEnabled, int numMaxSamplesToExpect)
 

Detailed Description

The base class of ICSTDSP effects.

Member Function Documentation

void enableInplaceProcessing ( bool  shouldBeEnabled,
int  numMaxSamplesToExpect 
)
inlineprotected

Call this in your subclasses prepareToPlay method and tell it to automatically use inplace processing.

virtual void prepareToPlay ( double  ,
int   
)
inlinevirtual

Call this before calls to processBlock / processInplace to setup the effect.

Reimplemented in RingMod.

virtual void processBlock ( const float *  ,
float *  ,
int   
)
inlinevirtual

Processes the samples from input to output. Both arrays must be at have numSamples elements.

Reimplemented in Noise.

void processInplace ( float *  data,
int  numSamples 
)
virtual

Processes the float data in place.

The default behaviour copies the input data into an internal buffer and calls processBlock.

Reimplemented in Noise.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.