|
sipxmedialib
Version 3.3
|
Base class for the Bridge mixing algorithms. More...
#include <MpBridgeAlgBase.h>

Public Member Functions | |
Creators | |
| MpBridgeAlgBase (int maxInputs, int maxOutputs, UtlBoolean mixSilence) | |
| Constructor. More... | |
| virtual | ~MpBridgeAlgBase () |
| Destructor. More... | |
Manipulators | |
| virtual UtlBoolean | doMix (MpBufPtr inBufs[], int inBufsSize, MpBufPtr outBufs[], int outBufsSize, int samplesPerFrame)=0 |
| Mix together inputs onto outputs according to mpGainMatrix matrix. More... | |
| virtual void | setGainMatrixValue (int column, int row, MpBridgeGain val)=0 |
| Set selected gain to the given value. More... | |
| virtual void | setGainMatrixRow (int row, int numValues, const MpBridgeGain val[])=0 |
| Set selected gain row to the given value. More... | |
| virtual void | setGainMatrixColumn (int column, int numValues, const MpBridgeGain val[])=0 |
| Set selected gain column to the given value. More... | |
| void | saveAmplitudes (MpBufPtr inBufs[], int inBufsSize) |
| Save buffers amplitudes to internal array. More... | |
Accessors | |
| int | maxInputs () const |
| Get maximum number of inputs. More... | |
| int | maxOutputs () const |
| Get maximum number of outputs. More... | |
Protected Attributes | |
| 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... | |
Base class for the Bridge mixing algorithms.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
pure virtual |
Mix together inputs onto outputs according to mpGainMatrix matrix.
Implemented in MpBridgeAlgLinear, and MpBridgeAlgSimple.
|
pure virtual |
Set selected gain to the given value.
Implemented in MpBridgeAlgLinear, and MpBridgeAlgSimple.
|
pure virtual |
Set selected gain row to the given value.
Implemented in MpBridgeAlgLinear, and MpBridgeAlgSimple.
|
pure virtual |
Set selected gain column to the given value.
Implemented in MpBridgeAlgLinear, and MpBridgeAlgSimple.
|
inline |
Save buffers amplitudes to internal array.
|
inline |
Get maximum number of inputs.
|
inline |
Get maximum number of outputs.
|
protected |
Number of possible bridge inputs.
|
protected |
Number of possible bridge outputs.
|
protected |
Should Bridge ignore or mix frames marked as silence?
|
protected |
the previous frame processing interval.
Saved amplitude of the inputs from
1.8.11