aboutsummaryrefslogtreecommitdiffstats
path: root/alc/buffer_storage.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-03-31 20:46:03 -0700
committerChris Robinson <[email protected]>2021-03-31 21:02:30 -0700
commitf33edc3b30ee2975464b308f800f6918c0362283 (patch)
tree285ba54c9c791d596e880f3b3a4ebfb2ddbe87b5 /alc/buffer_storage.cpp
parentb5e36007f136f817e6d14685377e781e224daf17 (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.cpp1
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;
}