diff options
Diffstat (limited to 'alc/converter.cpp')
-rw-r--r-- | alc/converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/converter.cpp b/alc/converter.cpp index b07e8619..6e5b2207 100644 --- a/alc/converter.cpp +++ b/alc/converter.cpp @@ -340,7 +340,7 @@ void ChannelConverter::convert(const void *src, float *dst, ALuint frames) const { if(mDstChans == DevFmtMono) { - const float scale{std::sqrt(1.0f / static_cast<float>(POPCNT32(mChanMask)))}; + const float scale{std::sqrt(1.0f / static_cast<float>(PopCount(mChanMask)))}; switch(mSrcType) { #define HANDLE_FMT(T) case T: Multi2Mono<T>(mChanMask, mSrcStep, scale, dst, src, frames); break |