diff options
author | Chris Robinson <[email protected]> | 2021-03-31 20:46:03 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-31 21:02:30 -0700 |
commit | f33edc3b30ee2975464b308f800f6918c0362283 (patch) | |
tree | 285ba54c9c791d596e880f3b3a4ebfb2ddbe87b5 /alc/buffer_storage.cpp | |
parent | b5e36007f136f817e6d14685377e781e224daf17 (diff) |
Add support for 4-channel UHJ
Also add the SOFT moniker to the new macros
Diffstat (limited to 'alc/buffer_storage.cpp')
-rw-r--r-- | alc/buffer_storage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/buffer_storage.cpp b/alc/buffer_storage.cpp index 1e35220a..3eb1e28a 100644 --- a/alc/buffer_storage.cpp +++ b/alc/buffer_storage.cpp @@ -35,6 +35,7 @@ uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept case FmtBFormat3D: return (ambiorder+1) * (ambiorder+1); case FmtUHJ2: return 2; case FmtUHJ3: return 3; + case FmtUHJ4: return 4; } return 0; } |