aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-26 00:26:11 -0700
committerChris Robinson <[email protected]>2018-05-26 00:26:11 -0700
commitec84a107a4e0d26fa6a528940a40405d1fd1ce65 (patch)
tree3b4ed90c6b05d95c6cbb61e9c1f939f81e0dd80f /Alc/panning.c
parent803d331711cf5c0ecd0796bf28e9c95cf3724198 (diff)
Don't hardcode the max channels for HRTF B-Format decoding
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 4a7c592b..e4562387 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -884,7 +884,6 @@ static void InitHrtfPanning(ALCdevice *device)
static_assert(COUNTOF(AmbiPoints) == COUNTOF(AmbiMatrixFOA), "FOA Ambisonic HRTF mismatch");
static_assert(COUNTOF(AmbiPoints) == COUNTOF(AmbiMatrixHOA), "HOA Ambisonic HRTF mismatch");
- static_assert(COUNTOF(AmbiPoints) <= HRTF_AMBI_MAX_CHANNELS, "HRTF_AMBI_MAX_CHANNELS is too small");
if(device->AmbiUp)
{