13 #ifndef _INCLUDED_MPMISC_H 14 #define _INCLUDED_MPMISC_H 19 #include "os/OsMsgQ.h" 26 #define Zprintf printf 28 #define Zprintf(fmt, a, b, c, d, e, f) 29 #define Nprintf(fmt, a, b, c, d, e, f) 30 #define Lprintf(fmt, a, b, c, d, e, f) 39 int numAudioBuffers, OsConfigDb* pConfigDb,
40 const size_t numCodecPaths,
const UtlString codecPaths[]);
73 #ifdef REAL_RTCP // [ This is just a reminder - we should implement MpRtcpBuf
MpAudioBufPtr comfortNoise
Definition: MpMisc.h:84
OsStatus mpStopTasks(void)
Definition: MpMisc.cpp:852
MpAudioBufPtr mpFgSilence
Definition: MpMisc.h:80
MpBufPool * UdpPool
Memory pool for raw UDP packets.
Definition: MpMisc.h:77
This structure contain all static variables.
Definition: MpMisc.h:58
int sMpNumBufPools
Definition: MpMisc.cpp:118
void mpLogBufferStats(const char *label)
Definition: MpMisc.cpp:862
int frameBytes
Size of one audio frame.
Definition: MpMisc.h:64
OsMsgQ * pMicQ
Message queue for microphone data.
Definition: MpMisc.h:59
int max_spkr_buffers
Maximum messages in spkr queue (soft limit)
Definition: MpMisc.h:88
struct __MpGlobals MpMisc
Definition: MpMisc.cpp:101
MpBufPool * RtpHeadersPool
Definition: MpMisc.h:72
Smart pointer to MpAudioBuf.
Definition: MpAudioBuf.h:168
OsStatus mpStartTasks(void)
Definition: MpMisc.cpp:837
MpBufPool * RawAudioPool
Memory pool for raw audio data buffers.
Definition: MpMisc.h:67
int max_mic_buffers
Maximum messages in mic queue (soft limit)
Definition: MpMisc.h:87
OsStatus mpStartUp(int sampleRate, int samplesPerFrame, int numAudioBuffers, OsConfigDb *pConfigDb, const size_t numCodecPaths, const UtlString codecPaths[])
Definition: MpMisc.cpp:462
OsMsgQ * pEchoQ
Definition: MpMisc.h:61
int frameSamples
Number of samples in one audio frame.
Definition: MpMisc.h:63
MpBufPool * AudioHeadersPool
Definition: MpMisc.h:68
MpBufPool * UdpHeadersPool
Definition: MpMisc.h:78
MpBufPool * RtcpPool
Memory pool for RTCP data buffers.
Definition: MpMisc.h:71
OsStatus mpShutdown(void)
Definition: MpMisc.cpp:752
int rtpMaxBytes
Maximum bytes in an RTP packet.
Definition: MpMisc.h:66
OsMsgQ * pSpkQ
Message queue for speaker data.
Definition: MpMisc.h:60
MpBufPool ** sMpBufPools[]
Definition: MpMisc.cpp:104
MpBufPool * RtpPool
Memory pool for RTP data buffers.
Definition: MpMisc.h:70
int sampleBytes
Size of one audio sample (in bytes)
Definition: MpMisc.h:65
Pool of buffers.
Definition: MpBufPool.h:32