=?UTF-8?Q?Michael=20M=C3=BCller=20?=: dsound: Pretend that the driver is certified.

Alexandre Julliard julliard at winehq.org
Wed Sep 21 10:14:51 CDT 2016


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

Author: Michael Müller <michael at fds-team.de>
Date:   Wed Sep 21 13:54:58 2016 +0200

dsound: Pretend that the driver is certified.

Signed-off-by: Michael Müller <michael at fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dsound/dsound.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/dsound/dsound.c b/dlls/dsound/dsound.c
index fb9fd66..43b252d 100644
--- a/dlls/dsound/dsound.c
+++ b/dlls/dsound/dsound.c
@@ -367,6 +367,9 @@ static HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGU
     device->drvcaps.dwFlags |= DSCAPS_SECONDARYMONO | DSCAPS_SECONDARYSTEREO;
     device->drvcaps.dwFlags |= DSCAPS_CONTINUOUSRATE;
 
+    /* pretend that the driver is certified */
+    device->drvcaps.dwFlags |= DSCAPS_CERTIFIED;
+
     device->drvcaps.dwPrimaryBuffers = 1;
     device->drvcaps.dwMinSecondarySampleRate = DSBFREQUENCY_MIN;
     device->drvcaps.dwMaxSecondarySampleRate = DSBFREQUENCY_MAX;




More information about the wine-cvs mailing list