sipxmedialib  Version 3.3
Classes | Public Member Functions | Protected Attributes | List of all members
MpBridgeAlgLinear::ExtendedInputs Struct Reference

#include <MpBridgeAlgLinear.h>

Collaboration diagram for MpBridgeAlgLinear::ExtendedInputs:
Collaboration graph
[legend]

Classes

struct  ExtendedInputInfo
 

Public Member Functions

 ExtendedInputs ()
 
 ~ExtendedInputs ()
 
void init_simple (int numInputs, int numOutputs)
 Initialize extended inputs, assuming simple bridge matrix case (inversed unity matrix). More...
 
void setGain (int input, int output, MpBridgeGain gain)
 
int searchForExtendedInput (int input, MpBridgeGain gain) const
 
int addExtendedInput (int input, MpBridgeGain gain)
 
int getExtendedInputsNum () const
 
int getOrigin (int extendedInput) const
 
int getGain (int extendedInput) const
 
bool isNotMuted (int extendedInput) const
 
int getExtendedInput (int origInput, int output) const
 

Protected Attributes

int mExtendedInputsNum
 Size of mpExtendedInputsInfo array. More...
 
int mInputsNum
 Number of outputs. More...
 
int mOutputsNum
 Number of outputs. More...
 
int * mpExtendedInputsMap
 
ExtendedInputInfompExtendedInputsInfo
 

Constructor & Destructor Documentation

ExtendedInputs ( )
inline
~ExtendedInputs ( )
inline

Member Function Documentation

void init_simple ( int  numInputs,
int  numOutputs 
)
inline

Initialize extended inputs, assuming simple bridge matrix case (inversed unity matrix).

void setGain ( int  input,
int  output,
MpBridgeGain  gain 
)
inline
int searchForExtendedInput ( int  input,
MpBridgeGain  gain 
) const
inline
int addExtendedInput ( int  input,
MpBridgeGain  gain 
)
inline
int getExtendedInputsNum ( ) const
inline
int getOrigin ( int  extendedInput) const
inline
int getGain ( int  extendedInput) const
inline
bool isNotMuted ( int  extendedInput) const
inline
int getExtendedInput ( int  origInput,
int  output 
) const
inline

Member Data Documentation

int mExtendedInputsNum
protected

Size of mpExtendedInputsInfo array.

int mInputsNum
protected

Number of outputs.

int mOutputsNum
protected

Number of outputs.

int* mpExtendedInputsMap
protected

This array is a twin of mpGainMatrix. Each element is an index of corresponding extended input (in mpExtendedInputs array). Have size of mInputsNum x mOutputsNum.

ExtendedInputInfo* mpExtendedInputsInfo
protected

Array with size of mExtendedInputsNum, storing info about extended inputs.