sipxmedialib
Version 3.3
|
Brief description. More...
#include <MpBridgeAlgSimple.h>
Public Member Functions | |
Creators | |
MpBridgeAlgSimple (int maxInputs, int maxOutputs, UtlBoolean mixSilence, int samplesPerFrame) | |
Constructor. More... | |
~MpBridgeAlgSimple () | |
Destructor. More... | |
Manipulators | |
UtlBoolean | doMix (MpBufPtr inBufs[], int inBufsSize, MpBufPtr outBufs[], int outBufsSize, int samplesPerFrame) |
Mix together inputs onto outputs according to mpGainMatrix matrix. More... | |
void | setGainMatrixValue (int column, int row, MpBridgeGain val) |
Set selected gain to the given value. More... | |
void | setGainMatrixRow (int row, int numValues, const MpBridgeGain val[]) |
Set selected gain row to the given value. More... | |
void | setGainMatrixColumn (int column, int numValues, const MpBridgeGain val[]) |
Set selected gain column to the given value. More... | |
Public Member Functions inherited from MpBridgeAlgBase | |
MpBridgeAlgBase (int maxInputs, int maxOutputs, UtlBoolean mixSilence) | |
Constructor. More... | |
virtual | ~MpBridgeAlgBase () |
Destructor. More... | |
void | saveAmplitudes (MpBufPtr inBufs[], int inBufsSize) |
Save buffers amplitudes to internal array. More... | |
int | maxInputs () const |
Get maximum number of inputs. More... | |
int | maxOutputs () const |
Get maximum number of outputs. More... | |
Protected Attributes | |
MpBridgeGain * | mpGainMatrix |
of inputs to outputs gains. More... | |
MpBridgeAccum * | mpMixAccumulator |
have size of mSamplesPerFrame. Used in doMix() only. More... | |
Protected Attributes inherited from MpBridgeAlgBase | |
int | mMaxInputs |
Number of possible bridge inputs. More... | |
int | mMaxOutputs |
Number of possible bridge outputs. More... | |
UtlBoolean | mMixSilence |
Should Bridge ignore or mix frames marked as silence? More... | |
MpAudioSample * | mpPrevAmplitudes |
the previous frame processing interval. More... | |
Brief description.
Long description here. Even multiline.
MpBridgeAlgSimple | ( | int | maxInputs, |
int | maxOutputs, | ||
UtlBoolean | mixSilence, | ||
int | samplesPerFrame | ||
) |
Constructor.
~MpBridgeAlgSimple | ( | ) |
Destructor.
|
virtual |
Mix together inputs onto outputs according to mpGainMatrix matrix.
Implements MpBridgeAlgBase.
|
virtual |
Set selected gain to the given value.
Implements MpBridgeAlgBase.
|
virtual |
Set selected gain row to the given value.
Implements MpBridgeAlgBase.
|
virtual |
Set selected gain column to the given value.
Implements MpBridgeAlgBase.
|
protected |
of inputs to outputs gains.
mMaxOutputs x mMaxInputs array
|
protected |
have size of mSamplesPerFrame. Used in doMix() only.
Accumulator to store sum of all inputs.