GNU Radio 3.6.5 C++ API

codec2.h File Reference

Go to the source code of this file.

Defines

#define CODEC2_SAMPLES_PER_FRAME   160
#define CODEC2_BITS_PER_FRAME   50

Functions

void * codec2_create ()
void codec2_destroy (void *codec2_state)
void codec2_encode (void *codec2_state, unsigned char *bits, short speech_in[])
void codec2_decode (void *codec2_state, short speech_out[], const unsigned char *bits)

Define Documentation

#define CODEC2_BITS_PER_FRAME   50
#define CODEC2_SAMPLES_PER_FRAME   160

Function Documentation

void* codec2_create ( )
void codec2_decode ( void *  codec2_state,
short  speech_out[],
const unsigned char *  bits 
)
void codec2_destroy ( void *  codec2_state)
void codec2_encode ( void *  codec2_state,
unsigned char *  bits,
short  speech_in[] 
)