Commit aadeb581 authored by Serdar Buyuksarac's avatar Serdar Buyuksarac
Browse files

Remove round function in ivas_reverb.c

parent 14e82b9b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 );