News SF.net Project Frequently Asked Questions Documentation Downloads Mailing Lists How to Contribute

SourceForge.net Logo

Changing the way games are made and played.

gsm.h File Reference

gsm.h File Reference


Defines

#define GSM_SAMPLES_PER_FRAME   160
#define GSM_ENCODED_FRAME_SIZE   33
#define GSM_OPT_LTP_CUT   3

Functions

gsm_stategsm_create (void)
void gsm_destroy (struct gsm_state *st)
int gsm_option (struct gsm_state *st, int opt, int *val)
int gsm_encode (struct gsm_state *st, short *in, unsigned char *out)
int gsm_decode (struct gsm_state *st, unsigned char *in, short *out)


Define Documentation

#define GSM_SAMPLES_PER_FRAME   160
 

#define GSM_ENCODED_FRAME_SIZE   33
 

#define GSM_OPT_LTP_CUT   3
 


Function Documentation

struct gsm_state* gsm_create void   ) 
 

void gsm_destroy struct gsm_state st  ) 
 

int gsm_option struct gsm_state st,
int  opt,
int *  val
 

int gsm_encode struct gsm_state st,
short *  in,
unsigned char *  out
 

int gsm_decode struct gsm_state st,
unsigned char *  in,
short *  out