libosmocodec  0.12.0
Osmocom codec library
ecu.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <stdint.h>
4 #include <stdbool.h>
5 
6 #include <osmocom/codec/codec.h>
7 
8 /* Codec independent ECU state */
12 };
13 
14 void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, uint8_t *frame);
15 int osmo_ecu_fr_conceal(struct osmo_ecu_fr_state *state, uint8_t *frame);
osmo_ecu_fr_state::subsequent_lost_frame
bool subsequent_lost_frame
Definition: ecu.h:10
GSM_FR_BYTES
#define GSM_FR_BYTES
Definition: codec.h:11
osmo_ecu_fr_state::frame_backup
uint8_t frame_backup[GSM_FR_BYTES]
Definition: ecu.h:11
codec.h
osmo_ecu_fr_conceal
int osmo_ecu_fr_conceal(struct osmo_ecu_fr_state *state, uint8_t *frame)
To be called when a bad frame is received.
Definition: ecu_fr.c:142
osmo_ecu_fr_state
Definition: ecu.h:9
osmo_ecu_fr_reset
void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, uint8_t *frame)
To be called when a good frame is received.
Definition: ecu_fr.c:131