Commit Graph

35 Commits

Author SHA1 Message Date
Alexandre Julliard eae787f913 mmdevapi: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 08:27:51 +02:00
Michael Stefaniuc a486cd78a3 mmdevapi: 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 09:38:42 +02:00
Andrew Eikum 287be7c5ee wineandroid: Add an audio driver.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 20:59:40 +02:00
Sebastian Lackner db0518507a mmdevapi: Use InitOnce to initialize audio drivers.
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-02-17 20:54:05 +01:00
Nikolay Sivov 3ac1059bf4 mmdevapi: Increment loop counter once per iteration (Clang).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 11:48:44 +09:00
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
Mark Harmstone b1ff68b803 mmdevapi: Allow GetPropValue function in audio drivers. 2014-12-04 22:15:34 +01:00
Andrew Eikum 1d3aac50a6 mmdevapi: Don't free resources on PROCESS_DETACH. 2013-03-26 12:11:45 +01:00
Andrew Talbot b6717dd3b1 mmdevapi: Avoid signed-unsigned integer comparisons. 2013-02-13 10:19:12 +01:00
Henri Verbeet 5e93aa38ab mmdevapi: Avoid a couple of dependencies on ddraw.h. 2012-11-05 11:30:30 +01: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
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 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
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
Andrew Eikum 4e7d039722 mmdevapi: Add support for IAudioSessionManager in IMMDevice::Activate. 2011-06-06 21:49:19 +02:00
Andrew Nguyen a67941d393 mmdevapi: Remove a stray semicolon in macro definition. 2011-05-18 16:54:31 +02:00
Andrew Eikum 4a37f2f093 mmdevapi: Initialize global driver data at DLL load time. 2011-05-02 18:48:20 +02:00
Andrew Eikum 5014099928 mmdevapi: Reimplement using a driver system. 2011-04-25 17:24:50 +02:00
Alexandre Julliard 343a2cb07a mmdevapi: Convert dll registration to the IRegistrar mechanism. 2010-12-07 13:30:55 +01:00
Michael Stefaniuc ef039627a5 mmdevapi: Use an iface instead of a vtbl pointer in IClassFactoryImpl. 2010-12-06 12:19:47 +01:00
Henri Verbeet 5c99f4ec6d mmdevapi: Remove the useless CINTERFACE definitions. 2010-08-17 11:55:33 +02:00
David Hedberg d5a7ad89aa include: Add IShellItemArray and IShellItemFilter interface declarations. 2010-07-20 14:40:31 +02:00
Alexandre Julliard 41db8e5910 mmdevapi: Don't try to lookup functions if the library isn't found. 2010-05-04 21:30:07 +02:00
Alexandre Julliard a7d000e2e2 mmdevapi: Include system headers before Wine headers. 2010-04-05 17:44:23 +02:00
Maarten Lankhorst 2c067ed31e mmdevapi: Add dependency on openal. 2010-04-05 17:41:21 +02:00
Maarten Lankhorst 5a954d4032 mmdevapi: Add uuid include. 2010-04-05 16:47:27 +02:00
Maarten Lankhorst 9924b40eb9 mmdevapi: Implement a stub of MMDevice. 2010-03-01 11:47:56 +01:00
Reece Dunn a2c41b72f8 Don't generate FIXME warnings for DllCanUnloadNow. 2010-01-06 10:59:51 +01:00
Maarten Lankhorst 3410ab8b7c mmdevapi: Add stubs for MMDevEnum with tests. 2010-01-04 17:06:58 +01:00
Maarten Lankhorst b80fe3618b mmdevapi: Add class factory. 2009-12-16 12:42:40 +01:00
Maarten Lankhorst a9a3a8e155 mmdevapi: Add initial mmdevapi dll. 2009-12-10 16:05:28 +01:00