sipxmedialib  Version 3.3
Macros | Typedefs | Enumerations | Functions
dtmflib.h File Reference
#include "mp/MpTypes.h"
#include "os/OsStatus.h"
Include dependency graph for dtmflib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DTMF_TONES_BASE   512
 

Typedefs

typedef struct __MpToneGen_tagMpToneGenPtr
 

Enumerations

enum  toneID {
  DTMF_TONE_DIALTONE = (DTMF_TONES_BASE + 0), DTMF_TONE_BUSY, DTMF_TONE_RINGBACK, DTMF_TONE_RINGTONE,
  DTMF_TONE_CALLFAILED, DTMF_TONE_SILENCE, DTMF_TONE_BACKSPACE, DTMF_TONE_CALLWAITING,
  DTMF_TONE_CALLHELD, DTMF_TONE_LOUD_FAST_BUSY, DTMF_TONE_TEST_TONE
}
 

Functions

void MpToneGen_startTone (MpToneGenPtr p, int toneID)
 
void MpToneGen_stopTone (MpToneGenPtr p)
 
OsStatus MpToneGen_getNextBuff (MpToneGenPtr thisobj, MpAudioSample *b, int N)
 
void MpToneGen_delete (MpToneGenPtr p)
 
MpToneGenPtr MpToneGen_MpToneGen (int samprate, const char *toneLocale=NULL)
 

Macro Definition Documentation

#define DTMF_TONES_BASE   512

Typedef Documentation

typedef struct __MpToneGen_tag* MpToneGenPtr

Enumeration Type Documentation

enum toneID
Enumerator
DTMF_TONE_DIALTONE 
DTMF_TONE_BUSY 
DTMF_TONE_RINGBACK 
DTMF_TONE_RINGTONE 
DTMF_TONE_CALLFAILED 
DTMF_TONE_SILENCE 
DTMF_TONE_BACKSPACE 
DTMF_TONE_CALLWAITING 
DTMF_TONE_CALLHELD 
DTMF_TONE_LOUD_FAST_BUSY 
DTMF_TONE_TEST_TONE 

Function Documentation

void MpToneGen_startTone ( MpToneGenPtr  p,
int  toneID 
)
void MpToneGen_stopTone ( MpToneGenPtr  p)
OsStatus MpToneGen_getNextBuff ( MpToneGenPtr  thisobj,
MpAudioSample b,
int  N 
)
void MpToneGen_delete ( MpToneGenPtr  p)
MpToneGenPtr MpToneGen_MpToneGen ( int  samprate,
const char *  toneLocale = NULL 
)