Commit cfce9241 authored by Arash Azizi's avatar Arash Azizi
Browse files

issue 2586: Adding some fixes and an assert to test a theory

parent a1aa68b7
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -421,7 +421,10 @@ ivas_error stereo_memory_dec_fx(
                hCPE->output_mem_fx[n][i - delay_comp_DFT] = L_shl( div_m, add( div_e, 16 ) ); /* div_e + Q16 */
                move32();
#ifdef FIX_ISSUE_2586_Q_VALUE
                hCPE->q_output_mem_fx[n][i - delay_comp_DFT] = 31 - div_e;
                hCPE->q_output_mem_fx[n] = 31 - div_e;
                IF(i != 0) {
                    assert(EQ_16(hCPE->q_output_mem_fx[n], 31 - div_e));
                }
#endif // FIX_ISSUE_2586_Q_VALUE
       // hCPE->output_mem_fx[n][sub(i, delay_comp_DFT)] = hCPE->hStereoDft->win32ms_fx[i_mult(STEREO_DFT32MS_STEP, ( sub(add(sub(hCPE->hStereoDft->dft32ms_ovl, 1), delay_comp_DFT), i) ))];
            }