#include <iso_synth_dc_blocker.h>
Inherits iso::synth::ProcessUnit.
Inheritance diagram for iso::synth::DCBlocker:
Public Member Functions | |
DCBlocker () | |
default constructor | |
DCBlocker (const String &pName) | |
name constructor | |
DCBlocker (unsigned int pChannelCount) | |
default constructor | |
DCBlocker (const String &pName, unsigned int pChannelCount) | |
name constructor | |
DCBlocker (const String &pName, unsigned int pFrameCount, unsigned int pChannelCount, unsigned int pRate, FanInType pFanInType=FANIN_ADD) throw (SynthException) | |
name and parameter based contructor | |
DCBlocker (const String &pName, const DCBlocker &pUnit) | |
name & copy constructor | |
DCBlocker (const data::Values &pValues) throw (SynthException) | |
values based constructor | |
virtual | ~DCBlocker () |
destructor | |
virtual void | process (Buffer *pBuffer) throw (SynthException) |
processes buffer | |
virtual String | info (bool pPropagate=false, bool pShowPorts=true) const |
obtain textual unit information | |
Static Public Attributes | |
static const String | sClassName |
default name | |
Protected Attributes | |
ControlPort * | mCoefficient |
operand control port | |
Frame | mX |
Frame | mY |
Static Protected Attributes | |
static unsigned int | sUnitCount |
total number of units created so far |
control ports:
mCoefficient : coefficient
Created by Daniel Bisig on 04/06/10. Copyright 2007 John Flury All rights reserved.
DCBlocker::DCBlocker | ( | ) |
default constructor
DCBlocker::DCBlocker | ( | const String & | pName | ) |
name constructor
pName | unit name |
DCBlocker::DCBlocker | ( | unsigned int | pChannelCount | ) |
default constructor
DCBlocker::DCBlocker | ( | const String & | pName, | |
unsigned int | pChannelCount | |||
) |
name constructor
pName | unit name | |
pChannelCount | number of channels |
DCBlocker::DCBlocker | ( | const String & | pName, | |
unsigned int | pFrameCount, | |||
unsigned int | pChannelCount, | |||
unsigned int | pRate, | |||
FanInType | pFanInType = FANIN_ADD | |||
) | throw (SynthException) |
name and parameter based contructor
pName | unit name | |
pFrameCount | number of frames | |
pChannelCount | number of channels | |
pRate | samping rate | |
pFanInType | strategy for combining audio buffers in case this unit is connected to several units |
name & copy constructor
pName | unit name | |
pUnit | unit to copy properties from |
DCBlocker::DCBlocker | ( | const data::Values & | pValues | ) | throw (SynthException) |
values based constructor
pValues | unit values |
SynthException | failed to create unit |
DCBlocker::~DCBlocker | ( | ) | [virtual] |
destructor
void DCBlocker::process | ( | Buffer * | pBuffer | ) | throw (SynthException) [virtual] |
String DCBlocker::info | ( | bool | pPropagate = false , |
|
bool | pShowPorts = true | |||
) | const [virtual] |
obtain textual unit information
pPropagate | if true, the unit calls the info methods of its input ports | |
pShowPorts | print port information |
Reimplemented from iso::synth::ProcessUnit.
const String DCBlocker::sClassName [static] |
unsigned int DCBlocker::sUnitCount [static, protected] |
ControlPort* iso::synth::DCBlocker::mCoefficient [protected] |
operand control port
Frame iso::synth::DCBlocker::mX [protected] |
Frame iso::synth::DCBlocker::mY [protected] |