Commit adffc41e authored by Gregory Pallone's avatar Gregory Pallone
Browse files

split statement and declaration

parent ae980d8a
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -315,6 +315,7 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams(
    float hrf_right[SFX_SPAT_BIN_MAX_FILTER_LENGTH];
    float azim_delta;
    float elev_delta;
    float pan;

    /* Evaluate the HR filters from the source and listener positions and orientations */
    Listener_p = hBinRendererTd->Listener_p;
@@ -389,7 +390,7 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams(
        set_f( hrf_left, 0.0f, *filterlength );
        set_f( hrf_right, 0.0f, *filterlength );
#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
        float pan = ( SrcSpatial_p->Pos_p[1] + 1.f ) * 0.5f;
        pan = ( SrcSpatial_p->Pos_p[1] + 1.f ) * 0.5f;
        hrf_left[0] = sinf( pan * EVS_PI * 0.5f );
        hrf_right[0] = cosf( pan * EVS_PI * 0.5f );
#else