Alexandre Julliard
5d82baf974
winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard
bd6b53740c
winecrt0: Add a default implementation for DllCanUnloadNow().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Jacek Caban
0536299a99
dsound: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-31 10:06:49 +02:00
Michael Stefaniuc
716cfcb163
dsound: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:59:29 +02:00
Zebediah Figura
e091903999
dsound: Use an SRW lock for the buffer lock.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 20:48:04 +01:00
Sven Baars
b3b1033541
dsound: Fix a memory leak (Valgrind).
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-19 14:58:00 +01:00
Dmitry Timoshkov
c39121fc97
dsound: Fix a memory leak.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 22:52:08 +02:00
Michael Müller
c8e0f58552
dsound: Respect return value of callback in DirectSoundEnumerateA/W.
...
Fixes a regression introduced in c8c6cc97bc
.
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>
2017-01-16 16:54:36 +01:00
Maarten Lankhorst
569ed159b0
dsound: Use AudioClient buffer statistics.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-14 14:39:52 +09:00
Francois Gouget
359fbe829a
dsound: Remove unneeded NONAMELESSXXX directives.
2015-03-11 22:10:31 +09:00
Mark Harmstone
17056b9f30
dsound: Implement SetFX.
2015-03-10 23:53:40 +09:00
Michael Stefaniuc
91e59d99f9
dsound: Avoid comparing BOOL variables with TRUE (PVS-Studio).
2015-03-09 22:06:45 +09:00
Thomas Faber
78b96c8776
dsound: Do not call CoUninitialize if CoInitialize failed.
2014-07-28 17:21:38 -05:00
Alexandre Julliard
5c8ffb795a
dsound: Don't bother to delete critical sections at process exit.
2013-05-16 12:56:04 +02:00
Maarten Lankhorst
605cd62c7d
dsound: Create a primary_pwfx separately from pwfx.
2012-11-22 14:53:14 +01:00
Jacek Caban
3f353e0025
dsound: Use proper helpers for iface calls.
2012-08-27 19:46:07 +02:00
Michael Stefaniuc
1555aebf1e
dsound: Cleanup IKsPrivatePropertySetImpl_Create().
2012-08-24 10:25:58 +02:00
Michael Stefaniuc
885e205ade
dsound: Cleanup the DirectSoundFullDuplex create functions.
2012-08-16 11:38:44 +02:00
Michael Stefaniuc
b8ffb4930f
dsound: Merge the DirectSoundCapture create functions.
2012-08-16 11:38:08 +02:00
Michael Stefaniuc
bf4481d3f0
dsound: Merge the DirectSound create functions.
2012-07-19 16:01:46 +02:00
Andrew Eikum
6d391df4aa
dsound: Don't launch a separate thread for the mmdevapi enumerator.
2012-01-16 19:32:51 +01:00
Alexander E. Patrakov
663bc47602
dsound: Always resample buffers in mixer thread.
2011-12-29 17:56:48 +01:00
Francois Gouget
c64ce9d0ff
dsound: Remove mmErr(). It is not used anymore.
2011-12-06 17:52:54 +01:00
Francois Gouget
68dc1468cb
dsound: Give a name to the critical sections, make them static and delete them when unloading the dll.
2011-11-15 19:37:35 +01:00
Andrew Eikum
c8c6cc97bc
dsound: Always enumerate the default device first.
2011-10-21 12:11:39 +02:00
Andrew Eikum
cec8e0d73a
dsound: Remove a few unused variables.
2011-10-05 17:31:27 -05:00
Andrew Eikum
8856ea79f3
dsound: Reimplement PropertySet on mmdevapi.
2011-09-27 16:53:59 +02:00
Andrew Eikum
3735ecac21
dsound: Reimplement capturing devices on mmdevapi.
2011-09-27 16:53:59 +02:00
Andrew Eikum
e786998daf
dsound: Reimplement rendering devices on mmdevapi.
2011-09-27 16:53:51 +02:00
Andrew Eikum
b1fdaa81b0
dsound: Remove hardware acceleration support.
2011-09-26 18:38:07 +02:00
Alexandre Julliard
b56dc9a6f7
winecrt0: Remove the clsid parameter in __wine_(un)register_resources.
2011-08-02 20:47:49 +02:00
Andrew Eikum
7d82403f05
dsound: Inform the driver if we are in emulation mode or not.
2011-06-29 10:22:57 -05:00
Michael Stefaniuc
d2e90cddfd
dsound: Use an iface instead of a vtbl pointer in IClassFactoryImpl.
2010-12-05 16:44:02 +01:00
Alexandre Julliard
b3c307fb91
dsound: Convert dll registration to the IRegistrar mechanism.
2010-12-03 14:28:28 +01:00
William Waghorn
594de90ccd
dsound: Ensure device name and description buffers are NUL terminated.
2010-03-22 15:52:35 +01:00
Reece Dunn
a2c41b72f8
Don't generate FIXME warnings for DllCanUnloadNow.
2010-01-06 10:59:51 +01:00
Maarten Lankhorst
ef0a0d8b86
Revert "dsound: Only initialize one guid for capture and renderer."
...
Reverts b474649e0e
. Some games use
pointers to the guid rather than copying the guid even after the
enumeration function returns. Allocating on the stack breaks those
games.
2010-01-06 09:54:18 +01:00
Maarten Lankhorst
1b94450f78
dsound: Remove refcounting in classfactory.
2009-12-16 12:42:40 +01:00
Maarten Lankhorst
b474649e0e
dsound: Only initialize one guid for capture and renderer.
2009-12-10 15:41:25 +01:00
Maarten Lankhorst
708eaaa6be
dsound: Implement DirectSoundCaptureEnumerateA on top of DirectSoundCaptureEnumerateW.
2009-11-16 14:45:35 +01:00
Maarten Lankhorst
03c16aaba9
dsound: Move DirectSoundCaptureEnumerate to dsound_main.c.
2009-11-16 14:45:28 +01:00
Maarten Lankhorst
9ec5f957cc
dsound: Implement DirectSoundEnumerateA on top of DirectSoundEnumerateW.
2009-11-16 14:44:36 +01:00
Michael Stefaniuc
0ae74c2a9b
dsound: Use UlongToHandle to make the real payload a HWAVEIN/HWAVEOUT.
...
Fixes Win64 compiler warnings.
2009-01-28 12:11:07 +01:00
Andrew Talbot
62d6a4e9f7
dsound: Declare some variables static.
2009-01-03 15:36:08 +01:00
Maarten Lankhorst
94c620cf95
dsound: Correct amount of buffers used for playing.
...
Fixes regression caused by ce06de4208
Amount of time per buffer was doubled, but amount of buffers wasn't
halved, so latency was doubled.
2009-01-02 12:39:11 +01:00
Maarten Lankhorst
dc22442141
dsound: Tune some parameters to make pulseaudio work.
2008-08-22 10:41:16 +02:00
Maarten Lankhorst
6c4d9448a9
dsound: Skip the sound checks on the primary module and change its driver module to "".
2008-04-21 13:20:12 +02:00
Andrew Talbot
e8aebfcb4b
dsound: Assign to structs instead of using CopyMemory.
2008-03-31 12:50:30 +02:00
Maarten Lankhorst
021019ff8f
dsound: Add an option to mix sound buffers in the mixer again.
2008-03-17 14:44:46 +01:00
Maarten Lankhorst
2a117a2017
dsound: Add support for WAVEFORMATEXTENSIBLE format.
2007-11-07 11:48:56 +01:00