Maarten Lankhorst : Revert "winealsa.drv: Re-allow fallback to waveout ( regression in dsound).".

Alexandre Julliard julliard at winehq.org
Mon Aug 3 11:15:58 CDT 2009


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

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Tue Jul 28 22:22:02 2009 +0200

Revert "winealsa.drv: Re-allow fallback to waveout (regression in dsound).".

This reverts commit 0addd3ba5a7c1de970d1829f77969e5331ad2be0.
It doesn't fix anything, it just hides the bug.

---

 dlls/winealsa.drv/dsoutput.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/dlls/winealsa.drv/dsoutput.c b/dlls/winealsa.drv/dsoutput.c
index dd95ad0..9c6d7fd 100644
--- a/dlls/winealsa.drv/dsoutput.c
+++ b/dlls/winealsa.drv/dsoutput.c
@@ -927,13 +927,6 @@ DWORD wodDsCreate(UINT wDevID, PIDSDRIVER* drv)
 
     TRACE("driver created\n");
 
-    /* the HAL isn't much better than the HEL if we can't do mmap() */
-    if (!(WOutDev[wDevID].outcaps.dwSupport & WAVECAPS_DIRECTSOUND))
-    {
-        WARN("MMAP not supported for this device, falling back to waveout, should be harmless\n");
-        return MMSYSERR_NOTSUPPORTED;
-    }
-
     *idrv = HeapAlloc(GetProcessHeap(),0,sizeof(IDsDriverImpl));
     if (!*idrv)
         return MMSYSERR_NOMEM;




More information about the wine-cvs mailing list