Commit 63345c9c authored by Gregory Pallone's avatar Gregory Pallone
Browse files

float format

parent 8825cb0f
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -233,13 +233,13 @@ void ivas_apply_non_diegetic_panning(
#endif

#ifdef FIX_2570_BUF_OVFL
    if ( non_diegetic_pan_gain < -90.0 )
    if ( non_diegetic_pan_gain < -90.f )
    {
        wrapped_angle = -180.0 - non_diegetic_pan_gain;
        wrapped_angle = -180.f - non_diegetic_pan_gain;
    }
    else if ( non_diegetic_pan_gain > 90.0 )
    else if ( non_diegetic_pan_gain > 90.f )
    {
        wrapped_angle = 180.0 - non_diegetic_pan_gain;
        wrapped_angle = 180.f - non_diegetic_pan_gain;
    }
    else
    {
+4 −4
Original line number Diff line number Diff line
@@ -396,13 +396,13 @@ void TDREND_SRC_REND_UpdateFiltersFromSpatialParams(
        set_f( hrf_right, 0.0f, *filterlength );
#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
#ifdef FIX_2570_BUF_OVFL
        if ( SrcSpatial_p->Pos_p[1] < -90.0 )
        if ( SrcSpatial_p->Pos_p[1] < -90.f )
        {
            wrapped_angle = -180.0 - SrcSpatial_p->Pos_p[1];
            wrapped_angle = -180.f - SrcSpatial_p->Pos_p[1];
        }
        else if ( SrcSpatial_p->Pos_p[1] > 90.0 )
        else if ( SrcSpatial_p->Pos_p[1] > 90.f )
        {
            wrapped_angle = 180.0 - SrcSpatial_p->Pos_p[1];
            wrapped_angle = 180.f - SrcSpatial_p->Pos_p[1];
        }
        else
        {
+12 −12
Original line number Diff line number Diff line
@@ -2242,13 +2242,13 @@ static ivas_error updateMcPanGainsForMcOut(
        {
#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
#ifdef FIX_2570_BUF_OVFL
            if ( inputMc->nonDiegeticPanGain < -90.0 )
            if ( inputMc->nonDiegeticPanGain < -90.f )
            {
                wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain;
                wrapped_angle = -180.f - inputMc->nonDiegeticPanGain;
            }
            else if ( inputMc->nonDiegeticPanGain > 90.0 )
            else if ( inputMc->nonDiegeticPanGain > 90.f )
            {
                wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain;
                wrapped_angle = 180.f - inputMc->nonDiegeticPanGain;
            }
            else
            {
@@ -2406,13 +2406,13 @@ static ivas_error updateMcPanGainsForBinauralOut(
    {
#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
#ifdef FIX_2570_BUF_OVFL
        if ( inputMc->nonDiegeticPanGain < -90.0 )
        if ( inputMc->nonDiegeticPanGain < -90.f )
        {
            wrapped_angle = -180.0 - inputMc->nonDiegeticPanGain;
            wrapped_angle = -180.f - inputMc->nonDiegeticPanGain;
        }
        else if ( inputMc->nonDiegeticPanGain > 90.0 )
        else if ( inputMc->nonDiegeticPanGain > 90.f )
        {
            wrapped_angle = 180.0 - inputMc->nonDiegeticPanGain;
            wrapped_angle = 180.f - inputMc->nonDiegeticPanGain;
        }
        else
        {
@@ -6063,13 +6063,13 @@ static ivas_error renderIsmToMc(
        {
#ifdef FIX_1548_HARMONIZE_NON_DIEGETIC_PANNING_LAW
#ifdef FIX_2570_BUF_OVFL
            if ( ismInput->nonDiegeticPanGain < -90.0 )
            if ( ismInput->nonDiegeticPanGain < -90.f )
            {
                wrapped_angle = -180.0 - ismInput->nonDiegeticPanGain;
                wrapped_angle = -180.f - ismInput->nonDiegeticPanGain;
            }
            else if ( ismInput->nonDiegeticPanGain > 90.0 )
            else if ( ismInput->nonDiegeticPanGain > 90.f )
            {
                wrapped_angle = 180.0 - ismInput->nonDiegeticPanGain;
                wrapped_angle = 180.f - ismInput->nonDiegeticPanGain;
            }
            else
            {