Jacek Caban
fa54a0b306
dsound/tests: 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:51 +02:00
Jacek Caban
b39b9eea39
include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 21:48:38 +01:00
Alistair Leslie-Hughes
2e8bd2682a
dsound: IDirectSoundBuffer8 GetStatus return DSBSTATUS_LOCSOFTWARE for deferred buffers.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=21014
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>
2021-01-18 22:46:37 +01:00
Shawn M. Chapla
c0026b5cf3
dsound: Send CaptureBuffer stop notification whenever stopping.
...
Signed-off-by: Shawn M. Chapla <schapla@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-18 22:46:37 +01:00
Zebediah Figura
91625e43f4
dsound: Select the nth effect matching the given CLSID in GetObjectInPath().
...
Instead of selecting the nth effect overall and checking whether it matches.
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-08-03 21:24:01 +02:00
Zebediah Figura
861cfee25d
dsdmo: Stub IDirectSoundFXParamEq.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-28 12:59:27 +02:00
Zebediah Figura
ac528a492b
dsdmo: Add a stub equalizer effect.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-28 12:59:27 +02:00
Zebediah Figura
afd6cc7297
dsound/tests: Move effect parameter tests to dsdmo.
...
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-07-24 18:38:41 +02:00
Zebediah Figura
7893ef6b9f
dsound/tests: Rewrite test_effects().
...
Use a custom DMO to show the interaction between dsound the DMO more clearly,
and add more tests for IDirectSoundBuffer8::GetObjectInPath().
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-07-24 18:38:22 +02:00
Zebediah Figura
3f27d91629
dsound/tests: Link directly to dsound.
...
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-07-24 18:38:09 +02:00
Akihiro Sagawa
70aeb7e4b0
dsound: Make GlobalHandle() for the sound buffer failed.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 15:54:49 +01:00
Akihiro Sagawa
e28638afcc
dsound/tests: Add a test whether the buffer is a valid global memory.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 15:54:44 +01:00
Alistair Leslie-Hughes
65488e6cf1
dsound/tests: Add media object query tests.
...
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-11-08 23:38:28 +01:00
Alistair Leslie-Hughes
594cc41e94
dsound/tests: Allow more time for an event to be signalled.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47868
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-10-03 22:58:06 +02:00
Alistair Leslie-Hughes
b360cd67e8
dsound/tests: Add some GetStatus checks.
...
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-10-01 22:38:52 +02:00
Alistair Leslie-Hughes
eabb3d444c
dsound: Primary buffer doesn't support flag DSBCAPS_CTRLFX.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40740
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-09-27 14:50:23 +02:00
Alistair Leslie-Hughes
54f1d8e750
dsound/tests: Add effect parameters tests.
...
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-09-04 17:11:15 +02:00
Alistair Leslie-Hughes
9a258c5dd7
dsound: IDirectSoundNotify is only available when DSBCAPS_CTRLPOSITIONNOTIFY is specified.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45473
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-02-13 21:01:56 +01:00
Michael Stefaniuc
b21b6ad717
dsound: Primary buffers don't support IDirectSoundNotify.
...
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-11-16 16:33:02 +01:00
Michael Stefaniuc
fc0b157caa
dsound/tests: Use the available 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-06-14 17:06:02 +02:00
Michael Stefaniuc
b509b54898
dsound/tests: Avoid ARRAY_SIZE-like macros.
...
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-06-14 17:06:00 +02:00
Zebediah Figura
1ec904906c
dsound/tests: Call interface methods properly.
...
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>
2018-04-02 10:36:13 +02:00
Michael Stefaniuc
33e0ca4550
dsound/tests: Use a void* instead of void** outer IUnknown argument.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-26 15:53:39 +02:00
Michael Stefaniuc
0e5dcc2c84
dsound: Fail to create a version 8 3d buffer with DSBCAPS_CTRLPAN.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:29 +01:00
Michael Stefaniuc
e69d9ec3c4
dsound: A version 1 3d secondary buffer allows SetPan().
...
For version 8 DSBCAPS_CTRL3D and DSBCAPS_CTRLPAN are mutually exclusive
and a sound buffer cannot be created when both flags are set.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 23:45:17 +09:00
Michael Stefaniuc
25d23d4432
dsound/tests: Test Pan for 3D secondary buffers too.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 23:45:14 +09:00
Michael Stefaniuc
72d67a2d4e
dsound/tests: Version differences in flag handling for 3d buffers.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 23:45:10 +09:00
Andrew Eikum
582b54329d
dsound/tests: Don't perform ALAW test on secondary buffers.
...
win2k supports it, winxp gives one error, vista+ gives another. This
isn't interesting behavior to test.
2015-04-15 16:22:10 +09:00
Andrew Eikum
a9a80b56b1
dsound: Stricter validation for formats in secondary buffers.
2015-04-14 16:50:15 +09:00
Mark Harmstone
b472e5574c
dsound/tests: Add GetObjectInPath tests.
2015-03-03 23:16:45 +09:00
Mark Harmstone
265ffd4368
dsound/tests: Add a test for SetFX.
2015-02-25 16:18:33 +09:00
Mark Harmstone
a48c7fe408
dsound: NOP on SetSpeakerConfig.
2015-01-05 16:27:34 +01:00
Andrew Eikum
29d1ccc7e2
dsound: Don't send notify events before played range.
2014-12-19 19:14:15 +01:00
Andrew Eikum
ee126c96f1
dsound: Report buffer notifications in offset order.
2014-12-04 14:03:16 +01:00
Nikolay Sivov
d789495534
dsound/tests: Accept another error code.
2014-06-16 09:31:10 +02:00
Frédéric Delanoy
86e2f37ebc
dsound/tests: Use wine_dbgstr_guid for printing GUIDs.
2014-02-12 19:15:20 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Frédéric Delanoy
c28d619286
dsound/tests: Use BOOL type where appropriate.
2013-11-13 11:23:17 +01:00
Michael Stefaniuc
4dd5893ad7
dsound/tests: Compile with -D__WINESRC__.
2013-10-15 14:28:20 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
9463dba830
tests: Use the explicit LoadLibraryA function.
2013-10-02 11:02:21 +02:00
Michael Stefaniuc
a158d42c0f
dsound/tests: Fix copy&paste error in ok() message.
2013-07-02 10:04:15 +02:00
Andrew Eikum
892068f96c
dsound/tests: Fix test that fails on older Windows 2000.
2013-05-31 19:15:56 +02:00
Andrew Eikum
e60e09e2d1
dsound: Copy SetFormat format more directly if we're not in PRIMARYWRITE mode.
2013-05-29 19:59:56 +02:00
Marcus Meissner
81ea726e64
dsound: Do not test undefined behaviour (Coverity).
2013-05-09 19:24:21 +02:00
Michael Stefaniuc
624bbd980f
dsound/tests: Mark some capture status as broken.
2013-04-23 15:35:13 +02:00
Michael Stefaniuc
7f65281056
dsound/tests: Skip tests if there is no default device.
2013-04-22 12:39:56 +02:00
Michael Stefaniuc
621d9e444a
Revert "dsound/tests: Primary and secondary buffers use the same IDirectSoundBuffer vtbl.".
...
This reverts commit 7959778d3f
.
This is not always the case on Windows.
2013-02-19 10:39:07 +01:00
Marcus Meissner
8107290279
dsound: HeapFree secondaries (Coverity).
2012-10-29 10:54:59 +01:00