libosmocodec  0.11.0-dirty
Osmocom codec library
include/osmocom/codec/ecu.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include <stdint.h>
00004 #include <stdbool.h>
00005 
00006 #include <osmocom/codec/codec.h>
00007 
00008 /* Codec independent ECU state */
00009 struct osmo_ecu_fr_state {
00010         bool subsequent_lost_frame;
00011         uint8_t frame_backup[GSM_FR_BYTES];
00012 };
00013 
00014 void osmo_ecu_fr_reset(struct osmo_ecu_fr_state *state, uint8_t *frame);
00015 int osmo_ecu_fr_conceal(struct osmo_ecu_fr_state *state, uint8_t *frame);
 All Data Structures Files Functions Variables Enumerations Enumerator Defines