aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-08-18 23:33:08 -0700
committerChris Robinson <[email protected]>2016-08-18 23:33:08 -0700
commitd16954c34ebb4bfbd4e7ef27090b01d6f4ff9261 (patch)
tree75222d2dc3b8b7d2ee1ca29f23a4a6e6d14d4ce8 /Alc/backends
parente13c6bca207d5a7659fca03a9576bcab6ea7728e (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')
0 files changed, 0 insertions, 0 deletions