Mark Harmstone : winealsa: Support up to 6 channels.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jan 5 15:01:27 CST 2015


Module: wine
Branch: master
Commit: a3f33daa6ab7156b26ad1378d49e8af6666b062d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a3f33daa6ab7156b26ad1378d49e8af6666b062d

Author: Mark Harmstone <hellas at burntcomma.com>
Date:   Wed Dec 31 21:34:47 2014 +0000

winealsa: Support up to 6 channels.

---

 dlls/winealsa.drv/mmdevdrv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winealsa.drv/mmdevdrv.c b/dlls/winealsa.drv/mmdevdrv.c
index d2fb2d3..2079dcc 100644
--- a/dlls/winealsa.drv/mmdevdrv.c
+++ b/dlls/winealsa.drv/mmdevdrv.c
@@ -1830,8 +1830,8 @@ static HRESULT WINAPI AudioClient_GetMixFormat(IAudioClient *iface,
         goto exit;
     }
 
-    if(max_channels > 2)
-        fmt->Format.nChannels = 2;
+    if(max_channels > 6)
+        fmt->Format.nChannels = 6;
     else
         fmt->Format.nChannels = max_channels;
 




More information about the wine-cvs mailing list