aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer/hrtf_inc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-01-06 21:09:21 -0800
committerChris Robinson <[email protected]>2019-01-06 21:16:08 -0800
commit20a5306bdf8128019748a2d66d2431537714badb (patch)
tree48df9c1f648cdb9cb9f5e4802c6ff8a6ed78c48f /Alc/mixer/hrtf_inc.cpp
parentfababe76c4f0482fb2527ef931b84681dd133ca6 (diff)
Clean up some initializers and use of C methods
Diffstat (limited to 'Alc/mixer/hrtf_inc.cpp')
-rw-r--r--Alc/mixer/hrtf_inc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer/hrtf_inc.cpp b/Alc/mixer/hrtf_inc.cpp
index 6c0824dc..594c6119 100644
--- a/Alc/mixer/hrtf_inc.cpp
+++ b/Alc/mixer/hrtf_inc.cpp
@@ -155,7 +155,7 @@ void MixDirectHrtf(ALfloat *RESTRICT LeftOut, ALfloat *RESTRICT RightOut,
const ALfloat (*data)[BUFFERSIZE], DirectHrtfState *State,
const ALsizei NumChans, const ALsizei BufferSize)
{
- ASSUME(NumChans >= 0);
+ ASSUME(NumChans > 0);
ASSUME(BufferSize > 0);
const ALsizei IrSize{State->IrSize};