Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
isdn_audio.h File Reference

Go to the source code of this file.

Data Structures

struct  adpcm_state
 
struct  dtmf_state
 
struct  silence_state
 

Macros

#define DTMF_NPOINTS   205 /* Number of samples for DTMF recognition */
 

Typedefs

typedef struct adpcm_state adpcm_state
 
typedef struct dtmf_state dtmf_state
 
typedef struct silence_state silence_state
 

Functions

void isdn_audio_ulaw2alaw (unsigned char *, unsigned long)
 
void isdn_audio_alaw2ulaw (unsigned char *, unsigned long)
 
adpcm_stateisdn_audio_adpcm_init (adpcm_state *, int)
 
int isdn_audio_adpcm2xlaw (adpcm_state *, int, unsigned char *, unsigned char *, int)
 
int isdn_audio_xlaw2adpcm (adpcm_state *, int, unsigned char *, unsigned char *, int)
 
void isdn_audio_calc_dtmf (modem_info *, unsigned char *, int, int)
 
void isdn_audio_eval_dtmf (modem_info *)
 
dtmf_stateisdn_audio_dtmf_init (dtmf_state *)
 
void isdn_audio_calc_silence (modem_info *, unsigned char *, int, int)
 
void isdn_audio_eval_silence (modem_info *)
 
silence_stateisdn_audio_silence_init (silence_state *)
 
void isdn_audio_put_dle_code (modem_info *, u_char)
 

Macro Definition Documentation

#define DTMF_NPOINTS   205 /* Number of samples for DTMF recognition */

Definition at line 12 of file isdn_audio.h.

Typedef Documentation

Function Documentation

int isdn_audio_adpcm2xlaw ( adpcm_state ,
int  ,
unsigned char ,
unsigned char ,
int   
)

Definition at line 361 of file isdn_audio.c.

adpcm_state* isdn_audio_adpcm_init ( adpcm_state ,
int   
)

Definition at line 329 of file isdn_audio.c.

void isdn_audio_alaw2ulaw ( unsigned char ,
unsigned  long 
)

Definition at line 223 of file isdn_audio.c.

void isdn_audio_calc_dtmf ( modem_info ,
unsigned char ,
int  ,
int   
)

Definition at line 593 of file isdn_audio.c.

void isdn_audio_calc_silence ( modem_info ,
unsigned char ,
int  ,
int   
)

Definition at line 634 of file isdn_audio.c.

dtmf_state* isdn_audio_dtmf_init ( dtmf_state )

Definition at line 344 of file isdn_audio.c.

void isdn_audio_eval_dtmf ( modem_info )

Definition at line 495 of file isdn_audio.c.

void isdn_audio_eval_silence ( modem_info )

Definition at line 691 of file isdn_audio.c.

void isdn_audio_put_dle_code ( modem_info ,
u_char   
)

Definition at line 661 of file isdn_audio.c.

silence_state* isdn_audio_silence_init ( silence_state )

Definition at line 622 of file isdn_audio.c.

void isdn_audio_ulaw2alaw ( unsigned char ,
unsigned  long 
)

Definition at line 217 of file isdn_audio.c.

int isdn_audio_xlaw2adpcm ( adpcm_state ,
int  ,
unsigned char ,
unsigned char ,
int   
)

Definition at line 396 of file isdn_audio.c.