diff options
author | Chris Robinson <[email protected]> | 2018-05-26 00:26:11 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-05-26 00:26:11 -0700 |
commit | ec84a107a4e0d26fa6a528940a40405d1fd1ce65 (patch) | |
tree | 3b4ed90c6b05d95c6cbb61e9c1f939f81e0dd80f /Alc/panning.c | |
parent | 803d331711cf5c0ecd0796bf28e9c95cf3724198 (diff) |
Don't hardcode the max channels for HRTF B-Format decoding
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 1 |
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) { |