/usr/include/sipxtapi/mp/MpBridgeAlgSimple.h is in libsipxtapi-dev 3.3.0~test17-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | //
// Copyright (C) 2008 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2008 SIPez LLC.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
//////////////////////////////////////////////////////////////////////////////
// Author: Alexander Chemeris <Alexander DOT Chemeris AT SIPez DOT com>
#ifndef _MpBridgeAlgSimple_h_
#define _MpBridgeAlgSimple_h_
// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include "mp/MpBridgeAlgBase.h"
// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS
/**
* @brief Brief description.
*
* Long description here.
* Even multiline.
*/
class MpBridgeAlgSimple : public MpBridgeAlgBase
{
/* //////////////////////////////// PUBLIC //////////////////////////////// */
public:
/* =============================== CREATORS =============================== */
///@name Creators
//@{
/// Constructor.
MpBridgeAlgSimple(int maxInputs, int maxOutputs, UtlBoolean mixSilence,
int samplesPerFrame);
/// Destructor.
~MpBridgeAlgSimple();
//@}
/* ============================= MANIPULATORS ============================= */
///@name Manipulators
//@{
/// @copydoc MpBridgeAlgBase::doMix()
UtlBoolean doMix(MpBufPtr inBufs[], int inBufsSize,
MpBufPtr outBufs[], int outBufsSize,
int samplesPerFrame);
/// @copydoc MpBridgeAlgBase::setGainMatrixValue()
void setGainMatrixValue(int column, int row, MpBridgeGain val);
/// @copydoc MpBridgeAlgBase::setGainMatrixRow()
void setGainMatrixRow(int row, int numValues, const MpBridgeGain val[]);
/// @copydoc MpBridgeAlgBase::setGainMatrixColumn()
void setGainMatrixColumn(int column, int numValues, const MpBridgeGain val[]);
//@}
/* ============================== ACCESSORS =============================== */
///@name Accessors
//@{
//@}
/* =============================== INQUIRY ================================ */
///@name Inquiry
//@{
//@}
/* ////////////////////////////// PROTECTED /////////////////////////////// */
protected:
MpBridgeGain* mpGainMatrix; ///< mMaxOutputs x mMaxInputs array
///< of inputs to outputs gains.
MpBridgeAccum* mpMixAccumulator; ///< Accumulator to store sum of all inputs.
///< have size of mSamplesPerFrame. Used in doMix() only.
/* /////////////////////////////// PRIVATE //////////////////////////////// */
private:
};
/* ============================ INLINE METHODS ============================ */
#endif // _MpBridgeAlgSimple_h_
|