reactos/dll/directx/wine/dsound
Oleg Dubinskiy 6ef7b67615 Revert "[DSOUND] Don't force status to failure by default in primarybuffer_SetFormat (#3911)"
Revert my last dsound fix, because it does not fix the actual problem with audio formats support. It only makes the situation worse. It prevents the error when creating an audio stream, but the sound is not playing correctly, both in ReactOS and Windows (with our dsound.dll). Without this fix, it works perfectly on Windows, but does not in ROS.
In particular, the sound is not playing properly in AIMP 4.71 with other audio formats besides default (44100 Hz, 16 bit, stereo). And any other apps which request these audio formats may be also affected as well.
Force the status back to failure, because otherwise the badly required code is not executed at all.
I've made a more correct fix(es) in other audio component(s) instead and will submit them if further PRs.

This reverts commit 183566ee58.

CORE-10907
2021-10-07 23:44:30 +03:00
..
buffer.c [REACTOS] Fix 64 bit build (#465) 2018-04-03 15:13:17 -06:00
capture.c [DSOUND][WAVE] Workaround crash when recording sound in Scratch 1.4 CORE-13202 2021-06-27 23:04:36 +02:00
CMakeLists.txt [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00
dsound.c
dsound.spec
dsound_classes.idl
dsound_classes.rgs
dsound_convert.c
dsound_main.c [DSOUND] Improvements to DirectSound(Capture)EnumerateW (#3899) 2021-09-04 15:58:42 +03:00
dsound_private.h
duplex.c
guid.c
mixer.c
primary.c Revert "[DSOUND] Don't force status to failure by default in primarybuffer_SetFormat (#3911)" 2021-10-07 23:44:30 +03:00
propset.c
sound3d.c
version.rc