diff options
author | Chris Robinson <[email protected]> | 2019-09-13 20:04:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-13 20:04:22 -0700 |
commit | 2646f509ee686f21458c32a990346be6e2a806d1 (patch) | |
tree | 3ff687847b038b43a3ad94bf5778b605d5b86b48 /alc/backends/wave.cpp | |
parent | 42ae95b8fafb0ea1fa676b1e0f67b23fd375a817 (diff) |
Store the ambisonic order as unsigned
Diffstat (limited to 'alc/backends/wave.cpp')
-rw-r--r-- | alc/backends/wave.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wave.cpp b/alc/backends/wave.cpp index f1171747..41d0a880 100644 --- a/alc/backends/wave.cpp +++ b/alc/backends/wave.cpp @@ -274,7 +274,7 @@ ALCboolean WaveBackend::reset() case DevFmtX71: chanmask = 0x01 | 0x02 | 0x04 | 0x08 | 0x010 | 0x020 | 0x200 | 0x400; break; case DevFmtAmbi3D: /* .amb output requires FuMa */ - mDevice->mAmbiOrder = mini(mDevice->mAmbiOrder, 3); + mDevice->mAmbiOrder = minu(mDevice->mAmbiOrder, 3); mDevice->mAmbiLayout = AmbiLayout::FuMa; mDevice->mAmbiScale = AmbiNorm::FuMa; isbformat = 1; |