Jörg Höhle : winecoreaudio: Accept up to 8 channels.

Alexandre Julliard julliard at winehq.org
Mon Oct 5 09:54:30 CDT 2009


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

Author: Jörg Höhle <hoehle at users.sourceforge.net>
Date:   Mon Oct  5 10:34:24 2009 +0200

winecoreaudio: Accept up to 8 channels.

---

 dlls/winecoreaudio.drv/audio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winecoreaudio.drv/audio.c b/dlls/winecoreaudio.drv/audio.c
index 7f7c1ee..72e523e 100644
--- a/dlls/winecoreaudio.drv/audio.c
+++ b/dlls/winecoreaudio.drv/audio.c
@@ -449,7 +449,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
         WAVEFORMATEXTENSIBLE * wfex = (WAVEFORMATEXTENSIBLE *)wf;
 
         if (wf->cbSize == 22 && IsEqualGUID(&wfex->SubFormat, &KSDATAFORMAT_SUBTYPE_PCM)) {
-            if (wf->nChannels >=1 && wf->nChannels <= 2) {
+            if (wf->nChannels >=1 && wf->nChannels <= 8) {
                 if (wf->wBitsPerSample==wfex->Samples.wValidBitsPerSample) {
                     if (wf->wBitsPerSample==8||wf->wBitsPerSample==16)
                         return TRUE;




More information about the wine-cvs mailing list