sipxmedialib
Version 3.3
|
#include <mp/MpTypes.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "os/OsDefs.h"
#include "os/OsMsgQ.h"
#include "os/OsConfigDb.h"
#include "mp/MpCodec.h"
#include "mp/dmaTask.h"
#include "mp/MpBuf.h"
#include "mp/MpAudioBuf.h"
#include "mp/MpRtpBuf.h"
#include "mp/MpUdpBuf.h"
#include "mp/MpBufferMsg.h"
#include "mp/MpMisc.h"
#include "mp/NetInTask.h"
#include "mp/MprFromMic.h"
#include "mp/MprToSpkr.h"
#include "mp/MprDejitter.h"
#include "mp/MpMediaTask.h"
#include "mp/MpCodecFactory.h"
#include "mp/MpStaticCodecInit.h"
#include "os/OsDateTime.h"
Macros | |
#define | RTL_START(x) |
#define | RTL_STOP |
#define | RTL_WRITE(x) |
#define | setExternalRtlCollector(x) |
#define | MIC_BUFFER_Q_LEN 10 |
#define | SPK_BUFFER_Q_LEN 14 |
#define | ECHO_BUFFER_Q_LEN MIC_BUFFER_Q_LEN+SPK_BUFFER_Q_LEN |
#define | RTCP_BUFS 16 |
#define | UDP_BUFS 10 |
#define | STRINGIFY(s) #s |
#define | SSTRINGIFY(s) STRINGIFY(s) |
#define | CODEC_PLUGIN_PATH "." |
Functions | |
intptr_t | showMpMisc (int justAddress) |
int | setMaxMic (int v) |
int | setMaxSpkr (int v) |
int | mpSetLatency (int maxMic, int maxSpkr, int minRtp) |
OsStatus | mpStartUp (int sampleRate, int samplesPerFrame, int numAudioBuffers, OsConfigDb *pConfigDb, const size_t numCodecPaths, const UtlString codecPaths[]) |
OsStatus | mpShutdown (void) |
OsStatus | mpStartTasks (void) |
OsStatus | mpStopTasks (void) |
void | mpLogBufferStats (const char *label) |
Variables | |
struct __MpGlobals | MpMisc |
MpBufPool ** | sMpBufPools [] |
int | sMpNumBufPools = sizeof(sMpBufPools) / sizeof(MpBufPool**) |
#define RTL_START | ( | x | ) |
#define RTL_STOP |
#define RTL_WRITE | ( | x | ) |
#define setExternalRtlCollector | ( | x | ) |
#define MIC_BUFFER_Q_LEN 10 |
#define SPK_BUFFER_Q_LEN 14 |
#define ECHO_BUFFER_Q_LEN MIC_BUFFER_Q_LEN+SPK_BUFFER_Q_LEN |
#define RTCP_BUFS 16 |
#define UDP_BUFS 10 |
#define STRINGIFY | ( | s | ) | #s |
#define SSTRINGIFY | ( | s | ) | STRINGIFY(s) |
#define CODEC_PLUGIN_PATH "." |
intptr_t showMpMisc | ( | int | justAddress | ) |
int setMaxMic | ( | int | v | ) |
int setMaxSpkr | ( | int | v | ) |
int mpSetLatency | ( | int | maxMic, |
int | maxSpkr, | ||
int | minRtp | ||
) |
OsStatus mpStartUp | ( | int | sampleRate, |
int | samplesPerFrame, | ||
int | numAudioBuffers, | ||
OsConfigDb * | pConfigDb, | ||
const size_t | numCodecPaths, | ||
const UtlString | codecPaths[] | ||
) |
OsStatus mpShutdown | ( | void | ) |
OsStatus mpStartTasks | ( | void | ) |
OsStatus mpStopTasks | ( | void | ) |
void mpLogBufferStats | ( | const char * | label | ) |
struct __MpGlobals MpMisc |
MpBufPool** sMpBufPools[] |
int sMpNumBufPools = sizeof(sMpBufPools) / sizeof(MpBufPool**) |