From 593966c8dbdbf2dbcd8768b258a3b22adb548b2f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 26 Apr 2022 23:32:15 -0700 Subject: Handle 3D7.1 as a separate channel configuration It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to behave better, not forwarding rear left/right channel inputs to lower front and upper rear, and allows reporting a more appropriate output mode to the app instead of 7.1. --- alc/device.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'alc/device.cpp') diff --git a/alc/device.cpp b/alc/device.cpp index e06c0d74..6eeb907e 100644 --- a/alc/device.cpp +++ b/alc/device.cpp @@ -84,6 +84,7 @@ auto ALCdevice::getOutputMode1() const noexcept -> OutputMode1 case DevFmtX51: return OutputMode1::X51; case DevFmtX61: return OutputMode1::X61; case DevFmtX71: return OutputMode1::X71; + case DevFmtX3D71: case DevFmtAmbi3D: break; } return OutputMode1::Any; -- cgit v1.2.3