dsound: Pretend that the driver is certified.
Signed-off-by: Michael Müller <michael@fds-team.de> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6816313387
commit
6fd36314d0
|
@ -367,6 +367,9 @@ static HRESULT DirectSoundDevice_Initialize(DirectSoundDevice ** ppDevice, LPCGU
|
||||||
device->drvcaps.dwFlags |= DSCAPS_SECONDARYMONO | DSCAPS_SECONDARYSTEREO;
|
device->drvcaps.dwFlags |= DSCAPS_SECONDARYMONO | DSCAPS_SECONDARYSTEREO;
|
||||||
device->drvcaps.dwFlags |= DSCAPS_CONTINUOUSRATE;
|
device->drvcaps.dwFlags |= DSCAPS_CONTINUOUSRATE;
|
||||||
|
|
||||||
|
/* pretend that the driver is certified */
|
||||||
|
device->drvcaps.dwFlags |= DSCAPS_CERTIFIED;
|
||||||
|
|
||||||
device->drvcaps.dwPrimaryBuffers = 1;
|
device->drvcaps.dwPrimaryBuffers = 1;
|
||||||
device->drvcaps.dwMinSecondarySampleRate = DSBFREQUENCY_MIN;
|
device->drvcaps.dwMinSecondarySampleRate = DSBFREQUENCY_MIN;
|
||||||
device->drvcaps.dwMaxSecondarySampleRate = DSBFREQUENCY_MAX;
|
device->drvcaps.dwMaxSecondarySampleRate = DSBFREQUENCY_MAX;
|
||||||
|
|
Loading…
Reference in New Issue