Commit 4e319293 authored by vaclav's avatar vaclav
Browse files

use CLDFB_SLOTS_PER_SECOND macro

parent 67463e13
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1888,7 +1888,7 @@ ivas_error ivas_binaural_reverb_init(
        }

        /* Convert preDelay from seconds to CLDFB slots as needed by binaural reverb */
        preDelay = (int16_t) roundf( 48000.0f * roomAcoustics->acousticPreDelay / CLDFB_NO_CHANNELS_MAX );
        preDelay = (int16_t) roundf( roomAcoustics->acousticPreDelay * CLDFB_SLOTS_PER_SECOND );
    }
    else
    {