# HG changeset patch # User Mychaela Falconia <falcon@freecalypso.org> # Date 1739438462 0 # Node ID d4979cdbc081c0edb01dff0fceca1eff2b7d0b36 # Parent 1dc5d9320e96fd12c21bfdbf653e1875e135d0c8 libgsmhr1 RxFE: set in_dtx in init_cn_gen() diff -r 1dc5d9320e96 -r d4979cdbc081 libgsmhr1/rxfe.c --- a/libgsmhr1/rxfe.c Thu Feb 13 09:10:12 2025 +0000 +++ b/libgsmhr1/rxfe.c Thu Feb 13 09:21:02 2025 +0000 @@ -213,6 +213,7 @@ st->cn_prng = PN_INIT_SEED; avgGsHistQntz(st->gs_history, &L_RxDTXGs); st->gs_cn_out = gsQuant(L_RxDTXGs, 0); + st->in_dtx = 1; st->dtx_bfi_count = 0; st->dtx_muting = 0; } @@ -274,7 +275,6 @@ case CNIFIRSTSID: if (dtxd_sp) *dtxd_sp = 0; - st->in_dtx = 1; if (frame_class == VALIDSID) memcpy(st->saved_frame, prm_in, sizeof(Shortword) * 4); init_cn_gen(st); @@ -283,7 +283,6 @@ case CNICONT: if (dtxd_sp) *dtxd_sp = 0; - st->in_dtx = 1; if (frame_class == VALIDSID) memcpy(st->saved_frame, prm_in, sizeof(Shortword) * 4); else @@ -295,7 +294,6 @@ case CNIBFI: if (dtxd_sp) *dtxd_sp = 0; - st->in_dtx = 1; if (st->dtx_muting) { if (fast_cn_muting) st->saved_frame[0] = 0;