mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 17:54:00 +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;
|
||||
double freq = exp2(-0.666 * log2(distance) + 15.75);
|
||||
double coef[5];
|
||||
LowpassBiquad(coef, TWOPI * freq / 24000);
|
||||
LowpassBiquad(coef, (double)TWOPI * freq / 24000);
|
||||
|
||||
// TESTING: compute attn at w=pi
|
||||
//double num = coef[0] - coef[1] + coef[2];
|
||||
|
|
Loading…
Reference in a new issue