mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
![]() Fix and improve DirectSoundEnumerateW and DirectSoundCaptureEnumerateW implementations in our dsound. Use the Windows-compatible way to get the device name and pass it to callback. - Don't use Wine-specific DSDRIVERDESC structure and DRV_QUERYDSOUNDDESC message, declared in sdk/include/dxsdk/dsdriver.h, whose are obsolete even in Wine for now. - Instead, declare a new WAVEINCAPSW and WAVEOUTCAPSW structures (for input and output appropriately), call waveInGetDevCapsW and WaveOutGetDevCapsW for enumerated device ID and store retieved device name in these structures. - Then pass them to a lpDSEnumCallbackW as well, without Ansi to Unicode conversion (since the retrieved string is Unicode already). - Do this both for capture and playback functions. - Addtionally, add MMSYSERR_BADDEVICEID status code to mmErr macro, because it also might be returned by waveIn/OutGetDevCapsW as well, in case of failure. - And mark our dosund as forked, because it definitely will not be synced at least until we'll retarget to Vista or newer. Add an appropriate comment. This fixes incorrect detection of DirectSound audio input and output devices, so now a lot of apps are able to detect it correctly, and can play the sound properly (e.g. AIMP 2.61 and IcyTower from RAPPS). CORE-7535 CORE-10907 CORE-15324 CORE-15533 CORE-16340 |
||
---|---|---|
.. | ||
amstream | ||
d3d8 | ||
d3d9 | ||
d3dcompiler_43 | ||
d3drm | ||
d3dx9_24 | ||
d3dx9_25 | ||
d3dx9_26 | ||
d3dx9_27 | ||
d3dx9_28 | ||
d3dx9_29 | ||
d3dx9_30 | ||
d3dx9_31 | ||
d3dx9_32 | ||
d3dx9_33 | ||
d3dx9_34 | ||
d3dx9_35 | ||
d3dx9_36 | ||
d3dx9_37 | ||
d3dx9_38 | ||
d3dx9_39 | ||
d3dx9_40 | ||
d3dx9_41 | ||
d3dx9_42 | ||
d3dx9_43 | ||
d3dxof | ||
ddraw | ||
devenum | ||
dinput | ||
dinput8 | ||
dmusic | ||
dplay | ||
dplayx | ||
dpnhpast | ||
dsound | ||
dxdiagn | ||
msdmo | ||
qcap | ||
qedit | ||
quartz | ||
wined3d | ||
.clang-format | ||
CMakeLists.txt | ||
readme.txt |
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