Loading lib_rend/ivas_reverb.c +2 −2 Original line number Diff line number Diff line Loading @@ -1202,8 +1202,8 @@ ivas_error ivas_reverb_open( fft_hist_size = pState->fft_size - pState->fft_subblock_size; #ifdef FIX_814_DOUBLE_PREC_IN_REVERB transition_start = (int16_t) roundf( FFT_FILTER_WND_FLAT_REGION * fft_hist_size ); transition_length = (int16_t) roundf( FFT_FILTER_WND_TRANS_REGION * fft_hist_size ); transition_start = (int16_t) ( FFT_FILTER_WND_FLAT_REGION * fft_hist_size + 0.5f ); transition_length = (int16_t) ( FFT_FILTER_WND_TRANS_REGION * fft_hist_size + 0.5f ); #else transition_start = (int16_t) round( FFT_FILTER_WND_FLAT_REGION * fft_hist_size ); transition_length = (int16_t) round( FFT_FILTER_WND_TRANS_REGION * fft_hist_size ); Loading Loading
lib_rend/ivas_reverb.c +2 −2 Original line number Diff line number Diff line Loading @@ -1202,8 +1202,8 @@ ivas_error ivas_reverb_open( fft_hist_size = pState->fft_size - pState->fft_subblock_size; #ifdef FIX_814_DOUBLE_PREC_IN_REVERB transition_start = (int16_t) roundf( FFT_FILTER_WND_FLAT_REGION * fft_hist_size ); transition_length = (int16_t) roundf( FFT_FILTER_WND_TRANS_REGION * fft_hist_size ); transition_start = (int16_t) ( FFT_FILTER_WND_FLAT_REGION * fft_hist_size + 0.5f ); transition_length = (int16_t) ( FFT_FILTER_WND_TRANS_REGION * fft_hist_size + 0.5f ); #else transition_start = (int16_t) round( FFT_FILTER_WND_FLAT_REGION * fft_hist_size ); transition_length = (int16_t) round( FFT_FILTER_WND_TRANS_REGION * fft_hist_size ); Loading