osmo-gmr: src/codec/codec.c File Reference

osmo-gmr 0.2.104-2b98 Osmocom GMR-1

Data Structures | Functions
codec.c File Reference
AMBE vocoder

Osmocom GMR-1 AMBE vocoder public API implementation. More...

`#include <string.h>`
`#include <stdint.h>`
`#include <stdlib.h>`
`#include <osmocom/gmr1/codec/codec.h>`
`#include "private.h"`

## Data Structures
struct | gmr1_codec
| Structure for GMR1 codec state. More...

## Functions
struct gmr1_codec * | gmr1_codec_alloc (void)
| Allocates and inits a codec object. More...
void | gmr1_codec_release (struct gmr1_codec *codec)
| Release a codec object created by gmr1_codec_alloc. More...
int | gmr1_codec_decode_frame (struct gmr1_codec *codec, int16_t *audio, int N, const uint8_t *frame, int bad)
| Decodes an AMBE frame to audio. More...
int | gmr1_codec_decode_dtx (struct gmr1_codec *codec, int16_t *audio, int N)
| Generates audio for DTX period. More...

## Detailed Description

Osmocom GMR-1 AMBE vocoder public API implementation.