libosmogsm 1.13.1.1-afb4 Osmocom GSM library

Data Fields
gsm0808_speech_codec Struct Reference

3GPP TS 48.008 3.2.2.104 Speech Codec. More...

`#include <gsm_08_08.h>`

## Data Fields
bool | fi
| Full IP: AoIP with compressed speech via RTP/UDP/IP. More...
bool | pi
| PCMoIP: PCM over A-Interface via RTP/UPD/IP. More...
bool | pt
| PCMoTDM: PCM over A-Interface with TDM as transport. More...
bool | tf
| TFO (Inband Tandem Free Operation). More...
uint8_t | type
| See enum gsm0808_speech_codec_type. More...
uint16_t | cfg
| For examples, see enum gsm0808_speech_codec_defaults. More...

## Detailed Description

3GPP TS 48.008 3.2.2.104 Speech Codec.

Valid if (fi || pi || pt) == true, otherwise ignore.

## Field Documentation

## ◆ cfg

uint16_t gsm0808_speech_codec::cfg

For examples, see enum gsm0808_speech_codec_defaults.

Referenced by enc_speech_codec(), gsm0808_dec_speech_codec(), and gsm0808_speech_codec_from_chan_type().

## ◆ fi

bool gsm0808_speech_codec::fi

Full IP: AoIP with compressed speech via RTP/UDP/IP.

Referenced by enc_speech_codec(), gsm0808_dec_speech_codec(), and gsm0808_speech_codec_from_chan_type().

## ◆ pi

bool gsm0808_speech_codec::pi

PCMoIP: PCM over A-Interface via RTP/UPD/IP.

Referenced by enc_speech_codec(), and gsm0808_dec_speech_codec().

## ◆ pt

bool gsm0808_speech_codec::pt

PCMoTDM: PCM over A-Interface with TDM as transport.

Referenced by enc_speech_codec(), and gsm0808_dec_speech_codec().

## ◆ tf

bool gsm0808_speech_codec::tf

TFO (Inband Tandem Free Operation).

Only valid if (pi || pt) == true.

Referenced by enc_speech_codec(), and gsm0808_dec_speech_codec().

## ◆ type

uint8_t gsm0808_speech_codec::type

See enum gsm0808_speech_codec_type.

Referenced by enc_speech_codec(), gsm0808_dec_speech_codec(), and gsm0808_speech_codec_from_chan_type().

The documentation for this struct was generated from the following file:

- include/osmocom/gsm/protocol/gsm_08_08.h