Commit 6983d22c authored by kinuthia's avatar kinuthia
Browse files

Use hOutSetup.output_config for ism

parent 065f54d8
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -199,7 +199,11 @@ static ivas_error ivas_ism_bitrate_switching_dec(
                {
                    return error;
                }
#ifdef NONBE_FIX_978_MC_TDREND_REVERB
                if ( st_ivas->hOutSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#else
                if ( st_ivas->hIntSetup.output_config == IVAS_AUDIO_CONFIG_BINAURAL_ROOM_REVERB )
#endif
                {
#ifdef NONBE_FIX_922_PRECOMPUTED_HRTF_PROPERTIES
                    if ( ( error = ivas_reverb_open( &st_ivas->hReverb, st_ivas->hHrtfStatistics, st_ivas->hRenderConfig, st_ivas->hDecoderConfig->output_Fs ) ) != IVAS_ERR_OK )