Commit 4e1fe3f5 authored by TYAGIRIS's avatar TYAGIRIS
Browse files

unused variable warning fixes in pre renderer

parent a8f6213e
Loading
Loading
Loading
Loading
Loading
+2 −18
Original line number Diff line number Diff line
@@ -543,26 +543,12 @@ static void ComputeCoeffs(
    float cov_io_norm_re[BINAURAL_CHANNELS][BINAURAL_CHANNELS];
    float cov_io_norm_im[BINAURAL_CHANNELS][BINAURAL_CHANNELS];
    float cov_oo_norm_re[BINAURAL_CHANNELS][BINAURAL_CHANNELS];
    float sigma_d, rho_hat, rho, gd, gd2, gl2, gr2, cov_norm_fact;
    float aa, bb, cc, dd, sign;
    float sigma_d, gd, gd2, gl2, gr2, cov_norm_fact;
    // float aa, bb, cc, dd, sign, rho, rho_hat;
    int16_t i, j;

    if ( pose_type == PITCH_ONLY )
    {
#if 0
        float gd_tmp;

        gd_tmp = cov_ii_re[0][0] + cov_ii_re[1][1];
        if ( gd_tmp < EPSILON )
        {
            hMd->gd = 1.0f;
        }
        else
        {
            gd_tmp = ( cov_oo_re[0][0] + cov_oo_re[1][1] ) / gd_tmp;
            hMd->gd = sqrtf( gd_tmp );
        }
#else
        float gd_tmp[BINAURAL_CHANNELS];

        for ( i = 0; i < BINAURAL_CHANNELS; i++ )
@@ -580,8 +566,6 @@ static void ComputeCoeffs(
        }
        hMd->gd = gd_tmp[0];
        hMd->gd2 = gd_tmp[1];

#endif
    }
    else
    {