Commit cee52225 authored by emerit's avatar emerit
Browse files

code refactoring

parent e3209568
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2762,9 +2762,10 @@ static CmdlnArgs defaultArgs(
    args.outConfig.audioConfig = IVAS_AUDIO_CONFIG_INVALID;
    args.outConfig.outSetupCustom.num_spk = 0;
    args.outConfig.outSetupCustom.num_lfe = 0;
#ifdef FIX_CREND_SIMPLIFY_CODE
    args.inConfig.ambisonicsBuses->audioConfig = IVAS_AUDIO_CONFIG_INVALID;

#ifdef FIX_CREND_SIMPLIFY_CODE

    for ( i = 0; i < RENDERER_MAX_ISM_INPUTS + RENDERER_MAX_MASA_INPUTS; ++i )
#else
    for ( int32_t i = 0; i < RENDERER_MAX_ISM_INPUTS; ++i )
+2 −2
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ ivas_error ivas_hrtf_init(
    hHrtf->max_num_ir = 0;
    hHrtf->max_num_iterations = 0;
    hHrtf->index_frequency_max_diffuse = 0;
    hHrtf->same_inv_diffuse_weight = 1;
    move16();
    move32();
    move16();
    move16();
@@ -94,8 +96,6 @@ ivas_error ivas_hrtf_init(
    move16();
    hHrtf->factor_Q_pOut_to_bin = 0;
    move16();
    hHrtf->same_inv_diffuse_weight = 1;
    move16();
#endif

    FOR( i = 0; i < MAX_INTERN_CHANNELS; i++ )