libosmocodec
0.12.0.55-9540
Osmocom codec library
Main Page
Data Structures
Files
File List
Globals
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 */
9
struct
osmo_ecu_fr_state
{
10
bool
subsequent_lost_frame
;
11
uint8_t
frame_backup
[
GSM_FR_BYTES
];
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);
codec.h
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
osmo_ecu_fr_state
Definition:
ecu.h:9
GSM_FR_BYTES
#define GSM_FR_BYTES
Definition:
codec.h:11
osmo_ecu_fr_state::subsequent_lost_frame
bool subsequent_lost_frame
Definition:
ecu.h:10
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::frame_backup
uint8_t frame_backup[GSM_FR_BYTES]
Definition:
ecu.h:11
include
osmocom
codec
ecu.h
Generated on Fri Sep 14 2018 00:37:33 for libosmocodec by
1.8.8