LMMS
Loading...
Searching...
No Matches
DelayLine Class Reference
Inheritance diagram for DelayLine:
CMT_PluginInstance

Public Member Functions

 DelayLine (const unsigned long lSampleRate, const LADSPA_Data fMaximumDelay)
 ~DelayLine ()

Private Attributes

LADSPA_Data m_fSampleRate
LADSPA_Data m_fMaximumDelay
LADSPA_Datam_pfBuffer
unsigned long m_lBufferSize
unsigned long m_lWritePointer

Friends

void activateDelayLine (LADSPA_Handle Instance)
void runSimpleDelayLine (LADSPA_Handle Instance, unsigned long SampleCount)
void runFeedbackDelayLine (LADSPA_Handle Instance, unsigned long SampleCount)

Additional Inherited Members

Protected Member Functions inherited from CMT_PluginInstance
 CMT_PluginInstance (const unsigned long lPortCount)
virtual ~CMT_PluginInstance ()
Protected Attributes inherited from CMT_PluginInstance
LADSPA_Data ** m_ppfPorts

Detailed Description

This class is used to implement delay line plugins. Different maximum delay times are supported as are both echo and feedback delays.

Constructor & Destructor Documentation

◆ DelayLine()

DelayLine::DelayLine ( const unsigned long lSampleRate,
const LADSPA_Data fMaximumDelay )
inline

◆ ~DelayLine()

DelayLine::~DelayLine ( )
inline

◆ activateDelayLine

void activateDelayLine ( LADSPA_Handle Instance)
friend

◆ runFeedbackDelayLine

void runFeedbackDelayLine ( LADSPA_Handle Instance,
unsigned long SampleCount )
friend

Run a feedback delay line instance for a block of SampleCount samples.

◆ runSimpleDelayLine

void runSimpleDelayLine ( LADSPA_Handle Instance,
unsigned long SampleCount )
friend

Member Data Documentation

◆ m_fMaximumDelay

LADSPA_Data DelayLine::m_fMaximumDelay
private

◆ m_fSampleRate

LADSPA_Data DelayLine::m_fSampleRate
private

◆ m_lBufferSize

unsigned long DelayLine::m_lBufferSize
private

Buffer size, a power of two.

◆ m_lWritePointer

unsigned long DelayLine::m_lWritePointer
private

Write pointer in buffer.

◆ m_pfBuffer

LADSPA_Data* DelayLine::m_pfBuffer
private

The documentation for this class was generated from the following file: