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
Alistair Leslie-Hughes
061121b81a
dsound: Trace ref in a consistent way.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-11 17:01:31 +01:00
Michael Stefaniuc
c4fdcf3eca
dsound: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:01 +02: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
Francois Gouget
359fbe829a
dsound: Remove unneeded NONAMELESSXXX directives.
2015-03-11 22:10:31 +09:00
Michael Stefaniuc
bee1573cb7
dsound: Get rid of an unused macro.
2012-09-14 15:41:36 +02: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
Marcus Meissner
a664424c19
dsound: Mark enum_callback and search_callback static.
2011-10-03 15:51:17 -05:00
Andrew Eikum
8856ea79f3
dsound: Reimplement PropertySet on mmdevapi.
2011-09-27 16:53:59 +02:00
Andrew Eikum
b1fdaa81b0
dsound: Remove hardware acceleration support.
2011-09-26 18:38:07 +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
Maarten Lankhorst
4429257358
dsound: COM cleanup property sets.
2011-04-08 16:49:51 +02:00
Andrew Talbot
ab6ad77243
dsound: Constify some variables.
2010-09-13 11:01:52 -05: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
b474649e0e
dsound: Only initialize one guid for capture and renderer.
2009-12-10 15:41:25 +01:00
Maarten Lankhorst
317d95a9db
dsound: Clean up DSPROPERTY_Description1.
2009-12-10 12:18:59 +01:00
Maarten Lankhorst
a5bf8b6b42
dsound: Clean up DSPROPERTY_DescriptionA.
2009-12-10 12:18:46 +01:00
Maarten Lankhorst
d0b43b86dd
dsound: Clean up DSPROPERTY_Enumerate1.
2009-12-10 12:18:32 +01:00
Maarten Lankhorst
4ecc5e6613
dsound: Clean up DSPROPERTY_EnumerateA.
2009-12-10 12:17:35 +01:00
Maarten Lankhorst
773acf4157
dsound: Clean up DSPROPERTY_EnumerateW.
2009-12-10 12:16:04 +01:00
Maarten Lankhorst
2e95764e76
dsound: Clean up DSPROPERTY_DescriptionW.
2009-12-10 12:15:29 +01:00
Maarten Lankhorst
0d34e5c6a4
dsound: Implement DSPROPERTY_WaveDeviceMappingA on top of *W.
2009-12-10 12:14:28 +01:00
Maarten Lankhorst
7326586517
dsound: Move buffer property sets to buffer.c.
2009-12-07 14:46:03 +01:00
Robert Reif
c2d6ce85d0
dsound: Fix uninitialized variable.
...
I missed one case when converting over to static GUIDs in a previous patch.
Pointed out by Andrew Talbot.
2009-03-23 15:26:43 +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
Michael Stefaniuc
7ab165a590
dsound: Fix mixup between HWAVEOUT and HWAVEIN.
...
The code path is taken when a valid wod isn't found. The loop thus
doesn't call waveInMessage() for each wid but retries the same wrong
wod.
2009-01-28 12:11:04 +01:00
Michael Stefaniuc
c91aa7a96d
dsound: Remove superfluous pointer casts.
2009-01-12 13:06:36 +01:00
Francois Gouget
45992843ea
dsound: Remove WINAPI on static functions where not needed.
2008-12-01 12:44:54 +01:00
Maarten Lankhorst
c45d4f77c6
dsound: Revert "dsound: Disable property sets if hardware doesn't support it.".
2007-07-06 19:28:53 +02:00
Maarten Lankhorst
faa29e9238
dsound: Unset variable on failure in IKsBufferPropertySetImpl_Create.
2007-06-12 11:18:46 +02:00
Maarten Lankhorst
3e1fcc0eb7
dsound: Disable property sets if hardware doesn't support it.
2007-06-04 12:56:13 +02:00
Andrew Talbot
1e4c97175e
dsound: Exclude unused headers.
2007-05-03 14:23:53 +02:00
Rob Shearman
543a7d8f2d
dsound: Implement QueryInterface for KsPropertySet objects.
2007-04-30 12:33:12 +02:00
Alexandre Julliard
6addb22017
dsound: The dsconf.h GUIDs are now in libdxguid.
2007-01-08 22:01:56 +01:00
Michael Stefaniuc
26bd2ec9c3
dsound: Win64 printf format warning fixes.
2006-11-13 12:49:04 +01:00
Robert Reif
02bd4ad437
dsound: Remove unused parameter from propset functions.
2006-08-23 11:58:38 +02:00
Robert Reif
595d6aa6fb
dsound: Class factory cleanup.
...
Consolidate all class factories into a single implementation.
Fixes a problem discovered by oleview.
2006-08-18 12:04:49 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
e49a5c22fb
dsound: Refactor playback.
...
Replace references of IDirectSoundImpl with DirectSoundDevice to
remove one level of indirection and remove the problem of a three
object circular reference.
2006-01-06 12:35:20 +01:00
Robert Reif
0265676a27
dsound: Remove WINAPI from internal functions.
2006-01-03 17:32:50 +01:00
Robert Reif
6727c52f3b
Include winuser.h so the code compiles cleanly on windows using
...
windows headers.
2005-10-17 09:24:50 +00:00
Marcus Meissner
bd7ec9aca5
The last argument to MultiByteToWideChar is wide character count and
...
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Robert Reif
5c8fb16893
Finish DirectSoundCapture/DirectSoundCapture8 split.
...
Add tests to verify split.
2005-06-04 09:38:14 +00:00
Robert Reif
48da1d52ad
Fix property set description for more than one capture device bug.
...
Add better traces messages.
2005-06-01 20:04:06 +00:00
Dmitry Timoshkov
b67da5b946
Make more of the OLE interface vtables const.
2005-06-01 19:57:42 +00:00
Robert Reif
ed2a6e4aae
Set driver type properly.
2005-05-04 09:46:41 +00:00