Commit b6df69e7 authored by vaclav's avatar vaclav
Browse files

revert too long removal

parent f38279c6
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -2074,8 +2074,8 @@ static ivas_error doSanityChecks_IVAS(
        }
    }

#ifndef REMOVE_FORCE_SUBFRAME_BIN
#ifdef DEBUGGING
#ifndef REMOVE_FORCE_SUBFRAME_BIN
    if ( st_ivas->hDecoderConfig->forceSubframeBinauralization )
    {
        /* Note about resolution of Binaural Renderers:                                                  *
@@ -2088,7 +2088,7 @@ static ivas_error doSanityChecks_IVAS(
            return IVAS_ERROR( IVAS_ERR_WRONG_PARAMS, "Wrong set-up: Forced subframe resolution parametric binauralization activated for non-binaural output." );
        }
    }

#endif
    if ( ( st_ivas->hDecoderConfig->force_rend == FORCE_TD_RENDERER ) && ( ( st_ivas->ivas_format != MC_FORMAT && st_ivas->ivas_format != ISM_FORMAT ) || output_config != AUDIO_CONFIG_BINAURAL || ( st_ivas->ivas_format == ISM_FORMAT && st_ivas->ism_mode == ISM_MODE_PARAM ) || ( st_ivas->ivas_format == MC_FORMAT && st_ivas->mc_mode != MC_MODE_MCT ) ) )
    {
        return IVAS_ERROR( IVAS_ERR_INVALID_OUTPUT_FORMAT, "Incorrect output configuration: Time Domain object renderer not supported in this configuration" );
@@ -2099,6 +2099,6 @@ static ivas_error doSanityChecks_IVAS(
        return IVAS_ERROR( IVAS_ERR_INVALID_FORCE_MODE, "Incorrect debug configuration: Cannot force CLDFB renderer in combination with TD renderer HRTF file" );
    }
#endif
#endif

    return IVAS_ERR_OK;
}