From 8793055e666d2019dd48422c2e4ece1d3118e2f7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 31 Mar 2021 05:37:56 -0700 Subject: Start an interface for providing UHJ audio Currently only 2-channel UHJ, which gets treated as stereo. --- alc/buffer_storage.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'alc/buffer_storage.cpp') 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; } -- cgit v1.2.3