From e9ad8571ba93dd6631a9c05a05a28ede95728d9e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 3 Nov 2022 19:42:08 -0700 Subject: Add preliminary support for 7.1.4 output modes I don't know how different sound APIs handle 7.1.4 ("Atmos" or "Auro3D") output, but currently it simply specifies the additional channels with the height channel labels. This isn't likely how it works for a virtualized channel bed, for playing over other with-height configurations (7.1.2, 5.1.4, etc), but this should be an okay start. --- core/devformat.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/devformat.cpp') diff --git a/core/devformat.cpp b/core/devformat.cpp index cbe8eaf3..acdabc4f 100644 --- a/core/devformat.cpp +++ b/core/devformat.cpp @@ -28,6 +28,7 @@ uint ChannelsFromDevFmt(DevFmtChannels chans, uint ambiorder) noexcept case DevFmtX51: return 6; case DevFmtX61: return 7; case DevFmtX71: return 8; + case DevFmtX714: return 12; case DevFmtX3D71: return 8; case DevFmtAmbi3D: return (ambiorder+1) * (ambiorder+1); } @@ -58,6 +59,7 @@ const char *DevFmtChannelsString(DevFmtChannels chans) noexcept case DevFmtX51: return "5.1 Surround"; case DevFmtX61: return "6.1 Surround"; case DevFmtX71: return "7.1 Surround"; + case DevFmtX714: return "7.1.4 Surround"; case DevFmtX3D71: return "3D7.1 Surround"; case DevFmtAmbi3D: return "Ambisonic 3D"; } -- cgit v1.2.3