Asterisk - The Open Source Telephony Project GIT-master-f36a736
Macros | Typedefs | Functions
gsm.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GSM_MAGIC   0xD /* 13 kbit/s RPE-LTP */
 
#define GSM_MAJOR   1
 
#define GSM_MINOR   0
 
#define GSM_OPT_FAST   2
 
#define GSM_OPT_FRAME_CHAIN   6
 
#define GSM_OPT_FRAME_INDEX   5
 
#define GSM_OPT_LTP_CUT   3
 
#define GSM_OPT_VERBOSE   1
 
#define GSM_OPT_WAV49   4
 
#define GSM_P(protos)   ( /* protos */ )
 
#define GSM_PATCHLEVEL   10
 

Typedefs

typedef struct gsm_stategsm
 
typedef unsigned char gsm_byte
 
typedef gsm_byte gsm_frame[33]
 
typedef short gsm_signal
 

Functions

int gsm_print GSM_P ((FILE *, gsm, gsm_byte *))
 
void gsm_destroy GSM_P ((gsm))
 
int gsm_decode GSM_P ((gsm, gsm_byte *, gsm_signal *))
 
void gsm_encode GSM_P ((gsm, gsm_signal *, gsm_byte *))
 
int gsm_option GSM_P ((gsm, int, int *))
 
gsm gsm_create GSM_P ((void))
 

Macro Definition Documentation

◆ GSM_MAGIC

#define GSM_MAGIC   0xD /* 13 kbit/s RPE-LTP */

Definition at line 44 of file gsm.h.

◆ GSM_MAJOR

#define GSM_MAJOR   1

Definition at line 48 of file gsm.h.

◆ GSM_MINOR

#define GSM_MINOR   0

Definition at line 47 of file gsm.h.

◆ GSM_OPT_FAST

#define GSM_OPT_FAST   2

Definition at line 51 of file gsm.h.

◆ GSM_OPT_FRAME_CHAIN

#define GSM_OPT_FRAME_CHAIN   6

Definition at line 55 of file gsm.h.

◆ GSM_OPT_FRAME_INDEX

#define GSM_OPT_FRAME_INDEX   5

Definition at line 54 of file gsm.h.

◆ GSM_OPT_LTP_CUT

#define GSM_OPT_LTP_CUT   3

Definition at line 52 of file gsm.h.

◆ GSM_OPT_VERBOSE

#define GSM_OPT_VERBOSE   1

Definition at line 50 of file gsm.h.

◆ GSM_OPT_WAV49

#define GSM_OPT_WAV49   4

Definition at line 53 of file gsm.h.

◆ GSM_P

#define GSM_P (   protos)    ( /* protos */ )

Definition at line 32 of file gsm.h.

◆ GSM_PATCHLEVEL

#define GSM_PATCHLEVEL   10

Definition at line 46 of file gsm.h.

Typedef Documentation

◆ gsm

typedef struct gsm_state* gsm

Definition at line 39 of file gsm.h.

◆ gsm_byte

typedef unsigned char gsm_byte

Definition at line 41 of file gsm.h.

◆ gsm_frame

typedef gsm_byte gsm_frame[33]

Definition at line 42 of file gsm.h.

◆ gsm_signal

typedef short gsm_signal

Definition at line 40 of file gsm.h.

Function Documentation

◆ GSM_P() [1/6]

int gsm_print GSM_P ( (FILE *, gsm, gsm_byte *)  )

◆ GSM_P() [2/6]

void gsm_destroy GSM_P ( (gsm )

◆ GSM_P() [3/6]

int gsm_explode GSM_P ( (gsm, gsm_byte *, gsm_signal *)  )

◆ GSM_P() [4/6]

void gsm_implode GSM_P ( (gsm, gsm_signal *, gsm_byte *)  )

◆ GSM_P() [5/6]

int gsm_option GSM_P ( (gsm, int, int *)  )

◆ GSM_P() [6/6]

gsm gsm_create GSM_P ( (void)  )