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. --- alc/device.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'alc/device.cpp') diff --git a/alc/device.cpp b/alc/device.cpp index 6eeb907e..66b13c5e 100644 --- a/alc/device.cpp +++ b/alc/device.cpp @@ -84,8 +84,10 @@ auto ALCdevice::getOutputMode1() const noexcept -> OutputMode1 case DevFmtX51: return OutputMode1::X51; case DevFmtX61: return OutputMode1::X61; case DevFmtX71: return OutputMode1::X71; + case DevFmtX714: case DevFmtX3D71: - case DevFmtAmbi3D: break; + case DevFmtAmbi3D: + break; } return OutputMode1::Any; } -- cgit v1.2.3