diff options
author | Chris Robinson <[email protected]> | 2021-03-31 10:03:31 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-31 10:03:31 -0700 |
commit | b5e36007f136f817e6d14685377e781e224daf17 (patch) | |
tree | 2b16156169cba4f4139ff16391e619f49fedce80 /alc/buffer_storage.cpp | |
parent | 35a0f2665f834c107e39ec2dcfc3d9ae0a0b33ce (diff) |
Handle 3-channel UHJ audio buffers
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 58752341..1e35220a 100644 --- a/alc/buffer_storage.cpp +++ b/alc/buffer_storage.cpp @@ -34,6 +34,7 @@ uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept case FmtBFormat2D: return (ambiorder*2) + 1; case FmtBFormat3D: return (ambiorder+1) * (ambiorder+1); case FmtUHJ2: return 2; + case FmtUHJ3: return 3; } return 0; } |