sipxmedialib  Version 3.3
Public Attributes | List of all members
__MpGlobals Struct Reference

This structure contain all static variables. More...

#include <MpMisc.h>

Collaboration diagram for __MpGlobals:
Collaboration graph
[legend]

Public Attributes

OsMsgQ * pMicQ
 Message queue for microphone data. More...
 
OsMsgQ * pSpkQ
 Message queue for speaker data. More...
 
OsMsgQ * pEchoQ
 
int frameSamples
 Number of samples in one audio frame. More...
 
int frameBytes
 Size of one audio frame. More...
 
int sampleBytes
 Size of one audio sample (in bytes) More...
 
int rtpMaxBytes
 Maximum bytes in an RTP packet. More...
 
MpBufPoolRawAudioPool
 Memory pool for raw audio data buffers. More...
 
MpBufPoolAudioHeadersPool
 
MpBufPoolRtpPool
 Memory pool for RTP data buffers. More...
 
MpBufPoolRtcpPool
 Memory pool for RTCP data buffers. More...
 
MpBufPoolRtpHeadersPool
 
MpBufPoolUdpPool
 Memory pool for raw UDP packets. More...
 
MpBufPoolUdpHeadersPool
 
MpAudioBufPtr mpFgSilence
 
MpAudioBufPtr comfortNoise
 
int max_mic_buffers
 Maximum messages in mic queue (soft limit) More...
 
int max_spkr_buffers
 Maximum messages in spkr queue (soft limit) More...
 

Detailed Description

This structure contain all static variables.

Member Data Documentation

OsMsgQ* pMicQ

Message queue for microphone data.

OsMsgQ* pSpkQ

Message queue for speaker data.

OsMsgQ* pEchoQ

Message queue for echo cancelation data (it is copy of speaker data).

int frameSamples

Number of samples in one audio frame.

int frameBytes

Size of one audio frame.

int sampleBytes

Size of one audio sample (in bytes)

int rtpMaxBytes

Maximum bytes in an RTP packet.

MpBufPool* RawAudioPool

Memory pool for raw audio data buffers.

MpBufPool* AudioHeadersPool

Memory pool for headers of raw audio data buffers

MpBufPool* RtpPool

Memory pool for RTP data buffers.

MpBufPool* RtcpPool

Memory pool for RTCP data buffers.

MpBufPool* RtpHeadersPool

Memory pool for headers of RTP and RTCP data buffers

MpBufPool* UdpPool

Memory pool for raw UDP packets.

MpBufPool* UdpHeadersPool

Memory pool for headers of UDP packets buffers

MpAudioBufPtr mpFgSilence

Buffer filled with silence. Used for mutting and as default output. You should not modify this buffer, cause it is used many times.

MpAudioBufPtr comfortNoise

Buffer filled with comfort noise. You should not modify this buffer, cause it is used many times.

int max_mic_buffers

Maximum messages in mic queue (soft limit)

int max_spkr_buffers

Maximum messages in spkr queue (soft limit)