Commit d59eab38 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

EVS bitexactness fix

parent 827a6910
Loading
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -56,11 +56,7 @@ void hf_synth_init_fx(
  hBWE_zero->seed2 = RANDOM_INITSEED;
  set16_fx(hBWE_zero->mem_hf_fx, 0, (L_FIR - 1));
  set16_fx(hBWE_zero->mem_syn_hf_fx, 0, M);
#ifndef MSAN_FIX // Disabled to maintain EVS Bit-exactness
  set16_fx(hBWE_zero->mem_hp400_fx, 0, 6);
#else
  set16_fx(hBWE_zero->mem_hp400_fx, 0, 4);
#endif // MSAN_FIX
  set16_fx(hBWE_zero->delay_syn_hf_fx, 0, NS2SA(16000, DELAY_CLDFB_NS));
  set16_fx(hBWE_zero->mem_hp_interp_fx, 0, INTERP_3_1_MEM_LEN);

@@ -79,11 +75,7 @@ void hf_synth_reset_fx(

  set16_fx(hBWE_zero->mem_hf_fx, 0, (L_FIR - 1));
  set16_fx(hBWE_zero->mem_syn_hf_fx, 0, M);
#ifdef MSAN_FIX
  set16_fx(hBWE_zero->mem_hp400_fx, 0, 6);
#else
  set16_fx(hBWE_zero->mem_hp400_fx, 0, 4);
#endif

  set16_fx(hBWE_zero->delay_syn_hf_fx, 0, NS2SA(16000, DELAY_CLDFB_NS));
  set16_fx(hBWE_zero->mem_hp_interp_fx, 0, INTERP_3_1_MEM_LEN);