FreeCalypso > hg > gsm-codec-lib
comparison libgsmfr2/pp_state.h @ 530:96c4ed5529bf
libgsmfr2 preproc: implement support for DTXd
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 19 Sep 2024 20:15:54 +0000 |
parents | 573afa985df6 |
children |
comparison
equal
deleted
inserted
replaced
529:79cd992de3ad | 530:96c4ed5529bf |
---|---|
16 enum rx_dtx_st rx_state; | 16 enum rx_dtx_st rx_state; |
17 uint8_t speech_frame[GSMFR_RTP_FRAME_LEN]; | 17 uint8_t speech_frame[GSMFR_RTP_FRAME_LEN]; |
18 uint8_t sid_prefix[5]; | 18 uint8_t sid_prefix[5]; |
19 uint8_t sid_xmaxc; | 19 uint8_t sid_xmaxc; |
20 uint32_t cn_random_lfsr; | 20 uint32_t cn_random_lfsr; |
21 unsigned cn_random_6fold; | 21 uint8_t cn_random_6fold; |
22 uint8_t dtxd_nodata_count; | |
23 uint8_t dtxd_sid_flag; | |
22 }; | 24 }; |
23 | 25 |
24 /* we use the same LFSR PRNG for CN as ETSI EFR implementation */ | 26 /* we use the same LFSR PRNG for CN as ETSI EFR implementation */ |
25 #define PN_INITIAL_SEED 0x70816958L /* Pseudo noise generator seed value */ | 27 #define PN_INITIAL_SEED 0x70816958L /* Pseudo noise generator seed value */ |