From 9f23d17333c8faaa0a2b7a86df33c41874a929a5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 15 Jan 2017 13:57:22 -0800 Subject: 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). --- OpenAL32/Include/alMain.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/Include') 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; -- cgit v1.2.3