Commit 7d6fab89 authored by Dominik Weckbecker's avatar Dominik Weckbecker 💬
Browse files

fix compile error with OBJ_EDITING_INTERFACE disabled

parent 5c628cfd
Loading
Loading
Loading
Loading
Loading
+5 −13
Original line number Diff line number Diff line
@@ -1334,6 +1334,7 @@ void ivas_param_mc_dec_digest_tc(
    int16_t ch;
    int16_t slot_idx;
    int16_t nchan_transport;

#ifndef OBJ_EDITING_API
    int16_t nchan_out_transport, nchan_out_cldfb, i, param_band_idx;
    int16_t nchan_out_cov;
@@ -1345,10 +1346,12 @@ void ivas_param_mc_dec_digest_tc(
    int16_t channel_active[MAX_OUTPUT_CHANNELS];
    IVAS_OUTPUT_SETUP *hSynthesisOutputSetup;
#endif

    hParamMC = st_ivas->hParamMC;
    assert( hParamMC );

    push_wmops( "param_mc_dec_digest_tc" );

#ifndef OBJ_EDITING_API
    set_s( channel_active, 0, MAX_CICP_CHANNELS );
#endif
@@ -1463,19 +1466,8 @@ void ivas_param_mc_dec_digest_tc(
    }


#ifndef FIX_1024_REMOVE_PARAMMC_MIXING_MAT
    if ( hParamMC->synthesis_conf == PARAM_MC_SYNTH_MONO_STEREO )
    {
        ivas_param_mc_get_mono_stereo_mixing_matrices( hParamMC, cx, hParamMC->h_output_synthesis_cov_state.mixing_matrix, hParamMC->h_output_synthesis_cov_state.mixing_matrix_res, nchan_out_transport, nchan_transport, nchan_out_cov );
    }
    else
    {
#endif
    /* generate mixing matrices */
    ivas_param_mc_get_mixing_matrices( hParamMC, hSynthesisOutputSetup, cx, hParamMC->h_output_synthesis_cov_state.mixing_matrix, hParamMC->h_output_synthesis_cov_state.mixing_matrix_res, nchan_out_transport, hParamMC->synthesis_conf, nchan_transport, nchan_out_cov );
#ifndef FIX_1024_REMOVE_PARAMMC_MIXING_MAT
    }
#endif
#endif
    pop_wmops();