diff options
Diffstat (limited to 'alc/backends/base.cpp')
-rw-r--r-- | alc/backends/base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/base.cpp b/alc/backends/base.cpp index 5c53e3b8..04fc4d64 100644 --- a/alc/backends/base.cpp +++ b/alc/backends/base.cpp @@ -183,7 +183,7 @@ void BackendBase::setChannelOrderFromWFXMask(ALuint chanmask) ALuint idx{0}; while(chanmask) { - const int bit{CTZ32(chanmask)}; + const int bit{CountTrailingZeros(chanmask)}; const ALuint mask{1u << bit}; chanmask &= ~mask; |