diff options
author | Chris Robinson <[email protected]> | 2021-03-31 05:37:56 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-03-31 05:37:56 -0700 |
commit | 8793055e666d2019dd48422c2e4ece1d3118e2f7 (patch) | |
tree | b9157843ca82fc9d6a244cef6f5ca4eeec09d9bb /alc/buffer_storage.cpp | |
parent | 051d6fb243c3d6843b5f5b24684cc9324cdc1de1 (diff) |
Start an interface for providing UHJ audio
Currently only 2-channel UHJ, which gets treated as stereo.
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 7d3adddd..58752341 100644 --- a/alc/buffer_storage.cpp +++ b/alc/buffer_storage.cpp @@ -33,6 +33,7 @@ uint ChannelsFromFmt(FmtChannels chans, uint ambiorder) noexcept case FmtX71: return 8; case FmtBFormat2D: return (ambiorder*2) + 1; case FmtBFormat3D: return (ambiorder+1) * (ambiorder+1); + case FmtUHJ2: return 2; } return 0; } |