diff options
author | Chris Robinson <[email protected]> | 2023-06-27 05:53:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-06-27 05:58:39 -0700 |
commit | 2da9d168b6bee32376889a394e11981a4515d041 (patch) | |
tree | 6256828baa39e09bd4f36b92efc6241bc4cfcd1f /alc/backends/wasapi.cpp | |
parent | a318126ee33c47b3e017d4970b09eaf581f73004 (diff) |
Set the correct dev format when autodetecting 7.1.4 in WASAPI
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r-- | alc/backends/wasapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index b68a59e2..c5282fcb 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -1272,7 +1272,7 @@ HRESULT WasapiPlayback::resetProxy() const uint32_t chancount{OutputType.Format.nChannels}; const DWORD chanmask{OutputType.dwChannelMask}; if(chancount >= 12 && (chanmask&X714Mask) == X7DOT1DOT4) - mDevice->FmtChans = DevFmtX71; + mDevice->FmtChans = DevFmtX714; else if(chancount >= 8 && (chanmask&X71Mask) == X7DOT1) mDevice->FmtChans = DevFmtX71; else if(chancount >= 7 && (chanmask&X61Mask) == X6DOT1) |