reactos/dll/directx/wine
Oleg Dubinskiy 183566ee58
[DSOUND] Don't force status to failure by default in primarybuffer_SetFormat (#3911)
Don't force HRESULT status to DSERR_BUFFERLOST by default in primarybuffer_SetFormat function.
Assign to it S_OK instead, as done in current Wine:
a8583acae9:/dlls/dsound/primary.c#l440

That variable is already set to failure in other appropriate place, when this is indeed needed:
https://git.reactos.org/?p=reactos.git;a=blob;h=b04a526929e4e817ff63aa652530e5901a3253a6;f=dll/directx/wine/dsound/primary.c#l511

The assigned failure status caused executing failure handling code even when the fail actually didn't happen.
In particular, DSOUND_ReopenDevice failed on waveOutOpen call when calling this was not needed.
After my changes, it's called only when needed, i. e., only when the actual failure happens
Otherwise, if all goes good, that code is not called, so the data is transfered successfully and the function is working correctly.
It fixes non-working playback in QMMP 0.11.1 (via DirectSound ouput plugin) and AIMP 3.10 and newer versions.
Also it improves the DirectSound test results from MS DxDiag: now all 4 available tests are passing successfully, instead of only 2.
Other dsound issues also might be fixed as well.

CORE-10907 CORE-14783
2021-09-11 01:58:03 +03:00
..
amstream [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
d3d8 [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
d3d9 [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
d3dcompiler_43 [CMAKE] Generate Flex and Bison files at build time 2021-01-28 06:43:05 +03:00
d3drm [D3DRM] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:01:38 +01:00
d3dx9_24 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_25 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_26 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_27 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_28 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_29 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_30 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_31 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_32 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_33 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_34 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_35 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_36 [CMAKE] target_compile_definitions() calls: Remove (now) useless '-D' (#3490) 2021-03-03 04:16:02 +01:00
d3dx9_37 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_38 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_39 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_40 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_41 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_42 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dx9_43 [WINESYNC] d3dx9: Implement D3DXComputeTangent 2021-02-04 16:37:07 +01:00
d3dxof [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
ddraw [DDRAW] ddraw.c ddraw7_FlipToGDISurface() to Wine-6.8 (#3827) CORE-15128 2021-07-15 19:04:46 +02:00
devenum [DEVENUM] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 18:56:05 +01:00
dinput [DINPUT] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:03:34 +01:00
dinput8 [DINPUT8] Sync with Wine Staging 4.18. CORE-16441 2019-11-05 22:31:12 +01:00
dmusic [DMUSIC] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:04:24 +01:00
dplay [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
dplayx [DPLAYX] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:04:51 +01:00
dpnhpast [DPNHPAST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:05:19 +01:00
dsound [DSOUND] Don't force status to failure by default in primarybuffer_SetFormat (#3911) 2021-09-11 01:58:03 +03:00
dxdiagn [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
msdmo [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
qcap [QCAP] Import qcap.dll from Wine Staging 3.3. CORE-16350 (#2421) 2020-04-03 23:59:12 +02:00
qedit [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
quartz [CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905 2020-06-06 21:58:41 +03:00
wined3d [CMAKE] Some options are only supported by GCC, don't use them for clang 2021-04-09 03:58:19 +03:00
.clang-format [REACTOS] Exclude some wine modules from clang-format 2020-02-26 18:19:18 +01:00
CMakeLists.txt [REACTOS] Silence warnings in 3r-party code 2021-07-23 22:03:48 +02:00
readme.txt [DIRECTX] Fix typos in readme.txt (#1498) 2019-04-13 17:07:02 +02:00

This Is wine DirectX support.
It works in reactos and windows
When ReactOS own ReactX are inplace 
this file will be remove from our SVN
for now they stay as temporary solutions


People that have help getting this thing 
to working in ReactOS Building system

Roderick Colenbrander - thunderbird2k at gmx dot net
The  informations how to build it and done 
the windows port in wine (wine devloper)

Magnus Olsen aka GreatLord 
Did import it to ReactOS and setupup
the build

GedMurphy
Did help with minor issue, info how to
make DllMain being call