FreeCalypso > hg > ice1-trau-tester
view libhr/tw_gsmhr.h @ 52:626180a15857 default tip
ater play-d144: emit E-data frames manually,
osmo_trau_frame_encode() is currently broken for this frame type
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 06:40:43 +0000 |
parents | e1eabf554a75 |
children |
line wrap: on
line source
/* * This header file is a reduced subset version of <tw_gsmhr.h> * from work-in-progress libgsmhr1, reduced to just the few functions * needed for itt-ater-8. */ #pragma once #include <stdint.h> #define GSMHR_NUM_PARAMS 18 /* actual codec parameters */ #define GSMHR_NUM_PARAMS_ENC 20 /* output from the encoder */ #define GSMHR_NUM_PARAMS_DEC 22 /* input to the decoder */ #define GSMHR_FRAME_LEN_RPF 14 /* raw packed format */ #define GSMHR_FRAME_LEN_5993 15 /* RFC 5993 and TW-TS-002 */ /* the few functions we've imported from WIP libgsmhr1 */ void gsmhr_pack_ts101318(const int16_t *param, uint8_t *payload); int gsmhr_check_common_params(const int16_t *params); int gsmhr_check_decoder_params(const int16_t *params);