diff options
Diffstat (limited to 'alc/backends/wasapi.cpp')
-rw-r--r-- | alc/backends/wasapi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/backends/wasapi.cpp b/alc/backends/wasapi.cpp index 2d7a2dd1..c5c14d22 100644 --- a/alc/backends/wasapi.cpp +++ b/alc/backends/wasapi.cpp @@ -1524,7 +1524,8 @@ HRESULT WasapiCapture::resetProxy() return (chancount == 7 && (chanmask == 0 || (chanmask&X61Mask) == X6DOT1)); case DevFmtX71: return (chancount == 8 && (chanmask == 0 || (chanmask&X71Mask) == X7DOT1)); - case DevFmtAmbi3D: return (chanmask == 0 && device->channelsFromFmt()); + case DevFmtAmbi3D: + return (chanmask == 0 && chancount == device->channelsFromFmt()); } return false; }; |