GNU Radio's M17 Package
codec2_mod.h File Reference
#include "codec2_internal.h"
#include <stdint.h>

Go to the source code of this file.

Macros

#define CODEC2_BYTES_PER_FRAME   BYTES_PER_FRAME
#define CODEC2_SAMPLES_PER_FRAME   SAMPLES_PER_FRAME

Functions

void codec2_init (codec2_t *c2)
void codec2_encoder_init (codec2_encoder_t *c2)
void codec2_decoder_init (codec2_decoder_t *c2)
void codec2_encode (codec2_encoder_t *c2, uint8_t *bits, const int16_t *speech)
void codec2_decode (codec2_decoder_t *c2, int16_t *speech, const uint8_t *bits)

Macro Definition Documentation

◆ CODEC2_BYTES_PER_FRAME

#define CODEC2_BYTES_PER_FRAME   BYTES_PER_FRAME

◆ CODEC2_SAMPLES_PER_FRAME

#define CODEC2_SAMPLES_PER_FRAME   SAMPLES_PER_FRAME

Function Documentation

◆ codec2_decode()

void codec2_decode ( codec2_decoder_t * c2,
int16_t * speech,
const uint8_t * bits )

◆ codec2_decoder_init()

void codec2_decoder_init ( codec2_decoder_t * c2)

◆ codec2_encode()

void codec2_encode ( codec2_encoder_t * c2,
uint8_t * bits,
const int16_t * speech )

◆ codec2_encoder_init()

void codec2_encoder_init ( codec2_encoder_t * c2)

◆ codec2_init()

void codec2_init ( codec2_t * c2)