diff options
author | Chris Robinson <[email protected]> | 2019-09-12 11:33:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-12 11:33:04 -0700 |
commit | 2e010d29cba51aec339179d52d3faddf84faafb0 (patch) | |
tree | b1391e44f628d2821f9fc035cb6edcf77c06890e /alc/mixvoice.cpp | |
parent | c0ce03d8b9533c768687964743420b18c5003455 (diff) |
Clean up implicit conversions in source.cpp
Diffstat (limited to 'alc/mixvoice.cpp')
-rw-r--r-- | alc/mixvoice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp index 98b86c9a..acc3af1d 100644 --- a/alc/mixvoice.cpp +++ b/alc/mixvoice.cpp @@ -485,8 +485,8 @@ void ALvoice::mix(State vstate, ALCcontext *Context, const ALuint SamplesToDo) ALuint DataPosFrac{mPositionFrac.load(std::memory_order_relaxed)}; ALbufferlistitem *BufferListItem{mCurrentBuffer.load(std::memory_order_relaxed)}; ALbufferlistitem *BufferLoopItem{mLoopBuffer.load(std::memory_order_relaxed)}; - const auto NumChannels = static_cast<ALuint>(mNumChannels); - const auto SampleSize = static_cast<ALuint>(mSampleSize); + const ALuint NumChannels{mNumChannels}; + const ALuint SampleSize{mSampleSize}; const auto increment = static_cast<ALuint>(mStep); if(increment < 1) return; |