_declspec(dllexport) void Init_Decod_ld8k(void) { /* Initialize static pointer */ exc = old_exc + PIT_MAX + L_INTERPOL; /* Static vectors to zero */ Set_zero(old_exc, PIT_MAX+L_INTERPOL); Set_zero(mem_syn, M); sharp = SHARPMIN; old_T0 = 60; gain_code = 0; gain_pitch = 0; Lsp_decw_reset(); /* for G.729B */ seed_fer = 21845; past_ftyp = 1; seed = INIT_SEED; sid_sav = 0; sh_sid_sav = 1; Init_lsfq_noise(); return; }
void Init_Decod_ld8k(void) { /* Initialize static pointer */ exc = old_exc + PIT_MAX + L_INTERPOL; /* Static vectors to zero */ Set_zero(old_exc, PIT_MAX+L_INTERPOL); Set_zero(mem_syn, M); sharp = SHARPMIN; old_T0 = 60; gain_code = 0; gain_pitch = 0; Lsp_decw_reset(); return; }