Maarten Lankhorst
3fe0c08992
winepulse: Add initial stub for pulseaudio support.
...
Includes API compatibility patch by Juergen Tretthahn <orson@orson.at>.
Synchronous static data initialization by Andrew Eikum <aeikum@codeweavers.com>.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:27 +09:00
Alexandre Julliard
bc9a95bb51
mmdevapi/tests: Avoid %ll printf format.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:51 +09:00
Andrew Eikum
b1821266ca
mmdevapi: Fix win10 test failures.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 23:02:01 +09:00
Huw Davies
42cbc05e59
mmdevapi/tests: Link against advapi32.
2015-06-09 22:09:58 +09:00
Nikolay Sivov
336cc78744
mmdevapi: Return interface pointers instead of impl pointers.
2015-06-01 14:52:40 +09:00
Andrew Eikum
b55cc5e4c5
mmdevapi: Always use 64-bit registry keys.
2015-05-04 15:06:22 +09:00
Nikolay Sivov
f4096a30ea
mmdevapi: Fix returned format leak (Valgrind).
2015-04-13 15:05:03 +09:00
Francois Gouget
1ba0d43b6e
mmdevapi: Remove an uneeded NONAMELESSUNION directive.
2015-03-13 21:57:31 +09:00
Michael Stefaniuc
a514fe7642
mmdevapi: Don't check for IID_IDirectSoundCapture8, it is just a define (PVS-Studio).
2015-03-06 20:32:02 +09:00
Michael Stefaniuc
5f28bbcda3
mmdevapi/tests: Remove an unused assignment (PVS-Studio).
2015-03-06 20:32:00 +09:00
Alexandre Julliard
9f59a60968
mmdevapi/tests: Use float constants with fabsf.
2015-03-04 21:50:34 +09:00
Mark Harmstone
e20307099f
mmdevapi: Do nothing on property store Commit.
2015-02-03 16:30:57 +09:00
Mark Harmstone
7b8dbc4776
mmdevapi: Allow PKEY_AudioEndpoint_PhysicalSpeakers to be overridden.
2015-01-27 21:30:15 +01:00
Mark Harmstone
acccdce4c4
winealsa: Return PKEY_AudioEndpoint_PhysicalSpeakers device prop.
2014-12-29 22:20:30 +01:00
Andrew Eikum
d301254e72
mmdevapi: More accurately track device position.
2014-12-17 17:10:20 +01:00
Mark Harmstone
b1ff68b803
mmdevapi: Allow GetPropValue function in audio drivers.
2014-12-04 22:15:34 +01:00
Andrew Eikum
b950b9a835
mmdevapi: Don't stop sending event signals after IAudioClient::Stop.
2014-06-30 10:32:36 +02:00
Andrew Eikum
0e84a59d89
mmdevapi: Clock rate should be in bytes for shared mode.
2014-05-19 16:01:07 +02:00
Andrew Eikum
b634666e13
mmdevapi: Make buffer size divisible by number of periods.
2014-05-19 16:01:03 +02:00
Frédéric Delanoy
d22a32b514
mmdevapi/tests: Use common wine_dbgstr_guid implementation from test.h.
2014-01-29 14:50:50 +01:00
Frédéric Delanoy
b0071852e8
mmdevapi/tests: Remove unused dbgstr_guid function.
2014-01-17 14:16:56 +01:00
André Hentschel
87c7c961f2
Assorted spelling fixes.
2014-01-06 17:33:24 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Alexandre Julliard
d08ff3ff19
makefiles: Use a single variable for all types of idl files.
2013-12-31 18:15:17 +01:00
Andrew Eikum
a5975bb601
mmdevapi: Fill buffer with silence in IAudioRenderClient::GetBuffer.
2013-11-12 19:06:09 +01:00
Frédéric Delanoy
e50dfb69ee
mmdevapi: Use BOOL type where appropriate.
2013-11-12 12:58:03 +01:00
Alexandre Julliard
c7803b885b
makefiles: Add makedep pragmas for registration idl files.
2013-11-05 20:38:18 +01:00
Andrew Eikum
37389cfc80
mmdevapi/tests: Update some error values for Windows 8.1.
2013-11-01 20:01:35 +01:00
Alexandre Julliard
7eebd74cb2
mmdevapi/tests: Mark a failing test as broken.
2013-10-17 14:00:17 +02:00
Michael Stefaniuc
fc0c0be1a3
mmdevapi/tests: Compile with -D__WINESRC__.
2013-10-16 11:41:20 +02:00
Jeff Klein
fabffe2b94
mmdevapi/tests: Add some tests for MMDevPropStore_GetAt.
2013-10-02 13:04:26 +02:00
Jeff Klein
5b47e9b382
mmdevapi: Correct MMDevPropStore_GetAt.
2013-10-02 13:04:25 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Thomas Faber
513f8286cb
mmdevapi: Fix build with MSVC.
2013-09-30 20:35:03 +02:00
Jeff Klein
0f4bc3b945
mmdevapi/tests: Test in-proc marshal of IAudioClient.
2013-08-02 11:34:54 +02:00
Stefan Leichter
5597252606
mmdevapi/tests: Fix a crash when function IMMDevice_Activate fails.
2013-07-11 15:53:50 +02:00
Andrew Eikum
1d3aac50a6
mmdevapi: Don't free resources on PROCESS_DETACH.
2013-03-26 12:11:45 +01:00
Jörg Höhle
c771fe9231
mmdevapi/tests: Produce audible 16bit output too.
2013-02-21 19:16:28 +01:00
Andrew Talbot
b6717dd3b1
mmdevapi: Avoid signed-unsigned integer comparisons.
2013-02-13 10:19:12 +01:00
Jörg Höhle
b18c5e811f
mmdevapi: SetEventHandle is allowed only once.
2012-12-18 16:30:36 +01:00
Andrew Eikum
d4e9b26cbb
mmdevapi: Send notifications to clients when the user-selected default device changes.
2012-12-15 16:33:31 +01:00
Andrew Eikum
8d775ec09b
mmdevapi: Implement (Un)RegisterEndpointNotificationCallback.
2012-12-15 16:33:25 +01:00
André Hentschel
20128a923a
mmdevapi/test: Fix tests on win8.
2012-12-12 20:23:55 +01:00
Henri Verbeet
5e93aa38ab
mmdevapi: Avoid a couple of dependencies on ddraw.h.
2012-11-05 11:30:30 +01:00
Maarten Lankhorst
d814eca3ba
mmdevapi: Fix a broken test.
2012-10-18 19:31:52 +02:00
Jacek Caban
223105b9b3
mmdevapi: Use proper helpers for iface calls.
2012-08-15 12:18:39 +02:00
Michael Stefaniuc
b14fb33148
mmdevapi: Avoid a TRUE:FALSE conditional expression.
2012-08-14 11:59:39 +02:00
Francois Gouget
4a27f7bf27
mmdevapi: Make MMDevice_GetPropValue() static.
2012-06-12 11:11:29 +02:00
Michael Stefaniuc
5c47973c24
mmdevapi: Remove superfluous NULL pointer check before HeapFree (Smatch).
2012-04-16 11:51:24 +02:00
Andrew Eikum
06c1f255f8
mmdevapi: Indicate data flow direction in IMMDevice::GetId result.
2012-04-06 20:12:26 +02:00
Andrew Eikum
e6638bd86f
mmdevapi: Store device interface in registry.
2012-04-06 20:12:05 +02:00
Andrew Eikum
e87cb774d1
mmdevapi: Use device GUIDs as unique identifiers.
2012-04-04 17:25:25 +02:00
Andrew Eikum
edab3b13f7
mmdevapi: TRACE all COM method calls.
2012-03-28 19:05:06 +02:00
Maarten Lankhorst
27adecec49
mmdevapi: Add tests for checking events to capture.
2012-03-01 17:38:59 +01:00
Jörg Höhle
813d0432a9
mmdevapi/tests: Fix some render test failures.
2012-02-24 17:04:11 +01:00
Maarten Lankhorst
14b765aca5
mmdevapi: Fix exclusive test.
2012-02-20 11:44:32 +01:00
Andrew Eikum
f7d37b38fe
mmdevapi: Only return ACTIVE devices from GetDefaultAudioEndpoint.
...
This prevents invalid devices from being created if the user adds a
device, sets it as default, and then removes it.
2012-02-15 11:56:47 +01:00
Jörg Höhle
fde979b8b5
mmdevapi/tests: Perform renderer padding & position tests.
2012-02-11 15:13:17 +01:00
Jörg Höhle
ac8360b3bf
mmdevapi/tests: Fix errors and crashes in various native configurations.
2012-02-09 09:39:23 -06:00
Jörg Höhle
f9f7048798
mmdevapi/tests: Produce audible output.
2012-02-09 09:39:09 -06:00
Jörg Höhle
4e323ec618
mmdevapi/tests: Add a worst-case XAudio2 fragment-size writes scenario.
2012-01-26 21:27:57 +01:00
Jörg Höhle
f24b31fcf2
mmdevapi/tests: Perform capture protocol tests in shared mode.
2012-01-26 21:27:54 +01:00
Jörg Höhle
260c8ce9b4
mmdevapi/tests: Fix some test failures on native.
2012-01-10 18:29:04 +01:00
Jörg Höhle
31eb83359a
mmdevapi/tests: Add PCM format tests.
2011-11-18 15:37:05 +01:00
Jörg Höhle
7480dc0af1
mmdevapi/tests: Prevent crash when device is in use.
2011-11-14 17:39:31 +01:00
Jörg Höhle
8e62e823d6
mmdevapi/tests: Fix errors and crashes in various native configurations.
2011-10-28 12:49:50 +02:00
Alexandre Julliard
6c68319863
mmdevapi/tests: Don't crash on test failure.
2011-10-24 19:54:15 +02:00
Andrew Eikum
66724f617e
mmdevapi: Attempt to determine default devices from the registry.
...
This uses a new, Wine-specific registry key
<HKCU\Software\Wine\Drivers\wine<driver>.drv> to determine the correct
device to use for the various defaults. The drivers still supply their
own defaults which will be chosen if no registry entry is defined. For
portability we use a driver-specific key in order to support default
devices for each of the driver backends.
2011-10-05 16:50:29 -05:00
Andrew Eikum
6adf21173c
mmdevapi: Don't use invalid This pointer on static object.
2011-09-30 10:32:14 -05:00
Andrew Eikum
f7364dfb4b
mmdevapi: Don't fail if dwChannelMask is not set correctly.
2011-09-28 21:04:33 +02:00
Andrew Eikum
e786998daf
dsound: Reimplement rendering devices on mmdevapi.
2011-09-27 16:53:51 +02:00
Henri Verbeet
748efc34c4
mmdevapi: Add a TRACE to info_device_ps_GetValue().
2011-09-02 10:11:34 +02:00
Henri Verbeet
a4fddf5fc8
mmdevapi: Include space for the terminating zero in info_device_ps_GetValue().
2011-09-02 10:11:25 +02:00
Andrew Eikum
c4b94b1ba4
mmdevapi: Automatically select the correct driver.
2011-09-01 18:06:37 +02:00
Andrew Eikum
f6890ef0e2
winmm: Determine the driver from MMDevAPI.
...
This uses a half-implemented, Wine-specific IMMDevice object to extract
the driver name.
2011-09-01 18:06:37 +02:00
Andrew Eikum
23c26982e9
mmdevapi: Disable sound if the user explicitly selects no driver.
...
This also tweaks the no-driver behavior to report 0 active devices
instead of returning an error code.
2011-08-23 16:53:52 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +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
9fc0377f64
mmdevapi: Try loading multiple audio drivers from the registry.
2011-07-26 16:30:12 +02:00
Austin English
910b3580a3
mmdevapi/tests: Remove a dead assignment (LLVM/Clang).
2011-07-26 10:19:36 +02:00
Andrew Eikum
80fd691e9e
mmdevapi: Use a sane default if no buffer size is requested.
2011-07-18 18:31:06 +02:00
Frédéric Delanoy
d473d02c64
mmdevapi/tests: Remove dead assignment (Clang).
2011-07-11 18:34:40 +02:00
Andrew Eikum
0085689f5d
mmdevapi: Implement ISimpleAudioVolume::{Set, Get}Mute.
2011-06-20 19:31:57 +02:00
Andrew Eikum
f50829c36e
mmdevapi: Don't crash if a driver fails to load.
2011-06-20 11:28:53 +02:00
Andrew Eikum
bc10fd3ce6
mmdevapi: Sessions should be unique per-device.
2011-06-14 12:59:39 +02:00
Jörg Höhle
c192041204
mmdevapi/tests: Fix wrong buffer unit and memory leaks.
2011-06-06 21:49:20 +02:00
Andrew Eikum
4e7d039722
mmdevapi: Add support for IAudioSessionManager in IMMDevice::Activate.
2011-06-06 21:49:19 +02:00
Marcus Meissner
dc5c9c5595
mmdevapi: Mark internal symbols with hidden visibility.
2011-05-20 10:33:03 +02:00
Andrew Nguyen
a67941d393
mmdevapi: Remove a stray semicolon in macro definition.
2011-05-18 16:54:31 +02:00
Andrew Eikum
91b684325f
mmdevapi: IMMDeviceEnumerator::GetDevice should fail on unknown device ids.
2011-05-16 16:35:27 +02:00
Andrew Eikum
8c41caaa20
mmdevapi/tests: Add tests for volume control interfaces.
2011-05-10 14:04:55 +02:00
Andrew Eikum
631d834022
mmdevapi/tests: Make capture.c more easily extendible.
2011-05-09 11:59:03 +02:00
Andrew Eikum
4d2622e65b
mmdevapi/tests: Add tests for IAudioSessionControl::GetState.
2011-05-02 18:48:20 +02:00
Andrew Eikum
4a37f2f093
mmdevapi: Initialize global driver data at DLL load time.
2011-05-02 18:48:20 +02:00
Andrew Eikum
29d6fbc3fe
mmdevapi/tests: Add tests for IAudioClock.
2011-04-27 17:50:05 +02:00
Andrew Eikum
a5cfae6db3
mmdevapi/tests: Add tests for IAudioClient::GetCurrentPadding.
2011-04-25 19:38:25 +02:00
Andrew Eikum
5014099928
mmdevapi: Reimplement using a driver system.
2011-04-25 17:24:50 +02:00
Francois Gouget
fc4014454b
mmdevapi: Reorder a couple of functions to avoid forward declarations and make MMDevice_SetPropValue() static.
2011-04-11 12:07:39 +02:00
Austin English
8b305ccbd3
mmdevapi/tests: Make sure return values are used (LLVM/Clang).
2011-02-09 09:29:36 -06:00