[PATCH] dsound: allow LOCHARDWARE flag
Alexandre Julliard
julliard at winehq.org
Mon Dec 29 15:35:17 CST 2014
Mark Harmstone <hellas at burntcomma.com> writes:
> @@ -975,12 +975,6 @@ HRESULT DirectSoundDevice_CreateSoundBuffer(
> TRACE("(lpwfxFormat=%p)\n",dsbd->lpwfxFormat);
> }
>
> - if (dsbd->dwFlags & DSBCAPS_LOCHARDWARE &&
> - !(dsbd->dwFlags & DSBCAPS_PRIMARYBUFFER)) {
> - TRACE("LOCHARDWARE is not supported, returning E_NOTIMPL\n");
> - return E_NOTIMPL;
> - }
> -
It breaks the tests:
../../../tools/runtest -q -P wine -T ../../.. -M dsound.dll -p dsound_test.exe.so dsound && touch dsound.ok
dsound.c:1705: Test failed: CreateSoundBuffer(1) gave wrong error: 00000000
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list