FreeCalypso > hg > gsm-codec-lib
comparison libgsmefr/dec_12k2.c @ 65:cb080ec1817e
libgsmefr: dec_lag6.c compiles
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sat, 26 Nov 2022 02:50:06 +0000 |
| parents | 1cc2968f883f |
| children | d80e9f12a1d1 |
comparison
equal
deleted
inserted
replaced
| 64:1cc2968f883f | 65:cb080ec1817e |
|---|---|
| 215 /* pointer to interpolated LPC parameters */ | 215 /* pointer to interpolated LPC parameters */ |
| 216 Az = A_t; move16 (); | 216 Az = A_t; move16 (); |
| 217 | 217 |
| 218 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) | 218 for (i_subfr = 0; i_subfr < L_FRAME; i_subfr += L_SUBFR) |
| 219 { | 219 { |
| 220 Word16 T0_min, T0_max; /* previously static inside Dec_lag6() */ | |
| 220 | 221 |
| 221 index = *parm++; move16 (); /* pitch index */ | 222 index = *parm++; move16 (); /* pitch index */ |
| 222 | 223 |
| 223 if ((st->rxdtx_ctrl & RX_SP_FLAG) != 0) | 224 if ((st->rxdtx_ctrl & RX_SP_FLAG) != 0) |
| 224 { | 225 { |
| 225 T0 = Dec_lag6 (st, index, PIT_MIN, PIT_MAX, i_subfr, L_FRAME_BY2, | 226 T0 = Dec_lag6 (st, index, PIT_MIN, PIT_MAX, i_subfr, L_FRAME_BY2, |
| 226 &T0_frac, bfi); | 227 &T0_frac, bfi, &T0_min, &T0_max); |
| 227 | 228 |
| 228 /*-------------------------------------------------* | 229 /*-------------------------------------------------* |
| 229 * - Find the adaptive codebook vector. * | 230 * - Find the adaptive codebook vector. * |
| 230 *-------------------------------------------------*/ | 231 *-------------------------------------------------*/ |
| 231 | 232 |
