aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-01-15 13:57:22 -0800
committerChris Robinson <[email protected]>2017-01-15 13:57:22 -0800
commit9f23d17333c8faaa0a2b7a86df33c41874a929a5 (patch)
treedd68191ae059b295ada025738d3185845596bdc0 /OpenAL32/Include
parent8e868823fd0226a960259363cd7b49ea51ece426 (diff)
Use second-order ambisonics for basic HRTF rendering
This should improve positional quality for relatively low cost. Full HRTF rendering still only uses first-order since the only use of the dry buffer there is for first-order content (B-Format buffers, effects).
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/alMain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h
index 5a5c3923..975dd11e 100644
--- a/OpenAL32/Include/alMain.h
+++ b/OpenAL32/Include/alMain.h
@@ -643,8 +643,8 @@ struct ALCdevice_struct
const struct Hrtf *Handle;
/* HRTF filter state for dry buffer content */
- alignas(16) ALfloat Values[4][HRIR_LENGTH][2];
- alignas(16) ALfloat Coeffs[4][HRIR_LENGTH][2];
+ alignas(16) ALfloat Values[9][HRIR_LENGTH][2];
+ alignas(16) ALfloat Coeffs[9][HRIR_LENGTH][2];
ALuint Offset;
ALuint IrSize;
} Hrtf;