Commit 631961b8 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix condition for CLDFB reverberator initialization

parent 259aedb5
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1230,7 +1230,9 @@ ivas_error ivas_binRenderer_open(

    /* Allocate memories needed for reverb module */
#ifdef NONBE_FIX_BINAURAL_ROOM_IR_REVERBERATOR
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_IR )
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV_ROOM 
		|| ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV && st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
		)
#else
    if ( st_ivas->renderer_type == RENDERER_BINAURAL_FASTCONV && st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif