Commit db58bd41 authored by vaclav's avatar vaclav
Browse files

use CLDFB_SLOTS_PER_SECOND macro

parent d5451aaf
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2499,7 +2499,7 @@ ivas_error ivas_binaural_reverb_init(
        }

        /* Convert preDelay from seconds to CLDFB slots as needed by binaural reverb */
        temp32 = Mult_32_16( roomAcoustics->acousticPreDelay_fx, ( ( 48000 / CLDFB_NO_CHANNELS_MAX ) >> 1 ) ); // Q11
        temp32 = Mult_32_16( roomAcoustics->acousticPreDelay_fx, ( CLDFB_SLOTS_PER_SECOND >> 1 ) ); // Q11
        preDelay = extract_l( L_shr( L_add( temp32, L_shl( 1, 10 ) ), 11 ) );                       // Q0
    }
    ELSE