Module: wine Branch: master Commit: 6fd36314d051ceff8dbb0f2d442f57983e0bcd65 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6fd36314d051ceff8dbb0f2d44... Author: Michael Müller <michael(a)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(a)fds-team.de> Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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;