libosmocodec  0.12.0.55-9540
Osmocom codec library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules
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);
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
Definition: ecu.h:9
#define GSM_FR_BYTES
Definition: codec.h:11
bool subsequent_lost_frame
Definition: ecu.h:10
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
uint8_t frame_backup[GSM_FR_BYTES]
Definition: ecu.h:11