Commit Graph

640 Commits

Author SHA1 Message Date
André Hentschel
046bcb7c7e dsound/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:05 +01: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
5f49129e03 resources: Define a generic mechanism for adding extra values to the common version block. 2010-12-03 14:53:59 +01:00
Alexandre Julliard
b3c307fb91 dsound: Convert dll registration to the IRegistrar mechanism. 2010-12-03 14:28:28 +01:00
Nick Bowler
681d544620 dsound: Restore old format on SetFormat failure. 2010-10-04 15:00:05 +02:00
Alexandre Julliard
19da00a6a3 dsound/tests: Mark some Vmware sound driver failures as broken. 2010-09-30 11:32:59 +02:00
Alexandre Julliard
81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Andrew Talbot
ab6ad77243 dsound: Constify some variables. 2010-09-13 11:01:52 -05:00
Henri Verbeet
049edc9587 dsound: Remove the useless CINTERFACE definition. 2010-08-17 11:55:33 +02:00
Alexandre Julliard
b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Maarten Lankhorst
2d5c4944c1 dsound: Unofficially support 5.1 sound. 2010-06-08 12:59:58 +02:00
William Waghorn
594de90ccd dsound: Ensure device name and description buffers are NUL terminated. 2010-03-22 15:52:35 +01:00
Alexandre Julliard
bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Maarten Lankhorst
1719f8faf1 dsound: Improve underrun behavior. 2010-03-15 13:28:24 +01:00
Alexandre Julliard
6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexander Nicolaysen Sørnes
9c88bd8d24 dsound/tests: Test querying for KsPropertySet on primary buffer. 2010-02-15 12:20:01 +01:00
Alexander Nicolaysen Sørnes
1db6e11254 dsound/tests: DirectSound3DListener_QueryInterface should accept IKsPropertySet. 2010-02-11 14:38:44 +01:00
Paul Vriens
0d302bb60c dsound: Fix a typo. 2010-01-14 09:10:57 -06: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
Alexandre Julliard
5da782ac53 dsound: Fix an invalid pointer cast. 2009-12-31 12:12:15 +01:00
Huw Davies
14fdced365 dsound: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-18 11:47:52 +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
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
Francois Gouget
ff0717766c dsound: Make DSOUND_PrimarySetFormat() static. 2009-12-02 14:19:47 +01:00
Francois Gouget
5b5f00d552 dsound: Make some capture functions static. 2009-12-02 14:19:44 +01:00
Francois Gouget
5ab62a5c88 dsound: Reorder the capture functions to avoid forward declarations. 2009-12-02 14:19:41 +01:00
Maarten Lankhorst
52400723c9 dsound: Don't use DirectSoundDevice calls directly. 2009-11-30 16:25:11 +01:00
Maarten Lankhorst
26df03d2df dsound: Use DirectSoundCapture properly in duplex. 2009-11-30 16:25:01 +01:00
Maarten Lankhorst
9123f28e46 dsound: Call DSOUND_FullDuplexCreate instead of creating it directly. 2009-11-30 16:24:28 +01:00
Maarten Lankhorst
c9b70ddf7e dsound: Remove directsound interface in duplex. 2009-11-30 16:24:14 +01:00
Maarten Lankhorst
9aa5aa3364 dsound: Fix destruction in duplex. 2009-11-30 16:21:38 +01:00
Henri Verbeet
7209cb89bb dsound: Use wine_dbg_sprintf() in dumpCooperativeLevel(). 2009-11-30 12:49:22 +01:00
Maarten Lankhorst
b0cfbe81fa dsound: Restore old speaker config after tests.
According to the documentation, only audio device vendors are allowed to 
call this function, so make sure we properly restore the old speaker config.
2009-11-20 11:40:47 +01:00
Maarten Lankhorst
a8f587e8de dsound: Move duplex definitions to duplex.c. 2009-11-16 14:50:30 +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
Marcus Meissner
61393fa021 dsound: Check for NULL listener (Coverity). 2009-10-19 11:41:47 +02:00
Jörg Höhle
de133ae00e dsound: Correct deallocations when DuplicateSoundBuffer fails. 2009-10-06 16:13:17 +02:00
Jörg Höhle
dc3471ca0e dsound: Enforce invariant about BlockAlign and nAvgBytesPerSec. 2009-10-06 16:13:17 +02:00
Jörg Höhle
6aac7cfafa dsound: Get rid of redundant NULL check. 2009-10-06 11:52:02 +02:00