diff options
author | Chris Robinson <[email protected]> | 2016-08-18 23:33:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-08-18 23:33:08 -0700 |
commit | d16954c34ebb4bfbd4e7ef27090b01d6f4ff9261 (patch) | |
tree | 75222d2dc3b8b7d2ee1ca29f23a4a6e6d14d4ce8 /Alc/backends/loopback.c | |
parent | e13c6bca207d5a7659fca03a9576bcab6ea7728e (diff) |
Fix HRTF index calculations for B-Format coefficients
The CalcEvIndices and CalcAzIndices methods were dependent on the FPU being in
round-to-zero mode, which is not the case for panning initialization. And since
we just need the closest index and don't need to lerp between them, it's better
to just directly calculate the index with rounding.
Diffstat (limited to 'Alc/backends/loopback.c')
0 files changed, 0 insertions, 0 deletions