DCBlock class public functions

DCBlock
~DCBlock
action
clear
output
printState

Additional functions inherited from Filter.


DCBlock(void);
Sets the name to "DCBlock", and sets the output value to 0.

~DCBlock();
Does nothing.

void action(void);
Adds all input signals for output().

void clear(void);
Sets the output value to zero.

sampleType output(int index = 0);
Returns the sum of the connected input signals. index does not have any significance.

void printState(void);
Prints the input signal values.