Commit 536c7ebb authored by TYAGIRIS's avatar TYAGIRIS
Browse files

fix linux warnings

parent 9adeb155
Loading
Loading
Loading
Loading
Loading
+2 −13
Original line number Diff line number Diff line
@@ -1958,11 +1958,8 @@ void ivas_dirac_dec_render_sf(
                set_zero( surCohRatio, hSpatParamRendCom->num_freq_bands );
            }
        }
#ifdef API_5MS
        if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation && st_ivas->hCombinedOrientationData->shd_rot_max_order == 1 )
#else

        if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation[subframe_idx] && st_ivas->hCombinedOrientationData->shd_rot_max_order == 1 )
#endif
        {
            ivas_dirac_dec_compute_directional_responses( hSpatParamRendCom,
                                                          hDirACRend,
@@ -2089,11 +2086,7 @@ void ivas_dirac_dec_render_sf(

        if ( hDirACRend->synthesisConf == DIRAC_SYNTHESIS_GAIN_SHD )
        {
#ifdef API_5MS
            if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation && st_ivas->hCombinedOrientationData->shd_rot_max_order == 0 )
#else
            if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation[subframe_idx] && st_ivas->hCombinedOrientationData->shd_rot_max_order == 0 )
#endif
            {
                protoSignalComputation_shd( Cldfb_RealBuffer, Cldfb_ImagBuffer,
                                            hDirACRend->h_output_synthesis_psd_state.proto_direct_buffer_f,
@@ -2325,11 +2318,7 @@ void ivas_dirac_dec_render_sf(
        }

        /*Compute PSDs*/
#ifdef API_5MS
        if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation && st_ivas->hCombinedOrientationData->shd_rot_max_order > 0 )
#else
        if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation[subframe_idx] && st_ivas->hCombinedOrientationData->shd_rot_max_order > 0 )
#endif
        {
            ivas_dirac_dec_output_synthesis_process_slot( reference_power,
                                                          p_onset_filter,
+1 −4
Original line number Diff line number Diff line
@@ -248,11 +248,8 @@ void ivas_ism_render_sf(
        set_f( output_f[i], 0.0f, n_samples_to_render );
    }

#ifdef API_5MS
    if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation )
#else

    if ( st_ivas->hCombinedOrientationData && st_ivas->hCombinedOrientationData->enableCombinedOrientation[0] )
#endif
    {
        ivas_jbm_dec_get_adapted_linear_interpolator( n_samples_to_render,
                                                      n_samples_to_render,