mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 19:21:16 +02:00
Fix compiler warning
This commit is contained in:
parent
d7399f5781
commit
c7c02d7a59
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ static void setFilters(float firCoef[4][HRTF_TAPS], float bqCoef[5][8], int dela
|
||||||
distance = (distance < 1.0f) ? 1.0f : distance;
|
distance = (distance < 1.0f) ? 1.0f : distance;
|
||||||
double freq = exp2(-0.666 * log2(distance) + 15.75);
|
double freq = exp2(-0.666 * log2(distance) + 15.75);
|
||||||
double coef[5];
|
double coef[5];
|
||||||
LowpassBiquad(coef, TWOPI * freq / 24000);
|
LowpassBiquad(coef, (double)TWOPI * freq / 24000);
|
||||||
|
|
||||||
// TESTING: compute attn at w=pi
|
// TESTING: compute attn at w=pi
|
||||||
//double num = coef[0] - coef[1] + coef[2];
|
//double num = coef[0] - coef[1] + coef[2];
|
||||||
|
|
Loading…
Reference in a new issue