diff options
author | Chris Robinson <[email protected]> | 2019-08-20 11:39:39 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 11:39:39 -0700 |
commit | 3fa83547e9d3857ad034fa29bd991111a3753259 (patch) | |
tree | 5fa8d76652b86cfcd3445addcdb2de8a4e81f8ce /alc/alu.cpp | |
parent | a19f65f2c8e092e2314295cea5b72e3576490d45 (diff) |
Use size_t for HrtfMixer functions' buffer size
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index 4a0ea8f9..a7d7cd70 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -159,6 +159,7 @@ void ALCdevice::ProcessHrtf(const ALsizei SamplesToDo) const int ridx{RealOut.ChannelIndex[FrontRight]}; ASSUME(lidx >= 0 && ridx >= 0); + ASSUME(SamplesToDo >= 0); MixDirectHrtf(RealOut.Buffer[lidx], RealOut.Buffer[ridx], Dry.Buffer, HrtfAccumData, mHrtfState.get(), SamplesToDo); } |