Commit graph

122 commits

Author SHA1 Message Date
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
Austin English
f640a38696 mmdevapi/tests: Make sure return value is used (LLVM/Clang). 2011-02-08 14:45:53 -06:00
Michael Stefaniuc
00d1915902 mmdevapi: Use ifaces instead of vtbl pointers in MMDevice. 2011-01-17 13:23:39 +01:00
Andrew Eikum
bd6f6bc2dd mmdevapi: Prevent deadlock when releasing a stream that's still playing. 2011-01-11 16:05:31 +01:00
Andrew Eikum
436d26f935 mmdevapi: Children of IAudioClient should hold a reference to their parents. 2011-01-11 16:04:27 +01:00
Andrew Eikum
2e7ee8d9d6 mmdevapi: Be explicit about units in IAudioRenderClient::ReleaseBuffer. 2011-01-05 17:56:52 +01:00
Andrew Eikum
0b608d0f7f mmdevapi: Be explicit about the units of ACImpl::ofs. 2011-01-05 17:56:48 +01:00
Andrew Eikum
045cf8c0af mmdevapi: Be explicit about units of ACImpl::bufsize. 2011-01-05 17:56:43 +01:00
Andrew Eikum
bbbf72ddcb mmdevapi: Store period size in frames.
There are three different units to represent durations of audio: time,
bytes, and frames. Since all three are in use in this module, we should
be more explicit about the unit of each variable.
2011-01-05 17:56:36 +01:00
Marcus Meissner
acefa93cd6 mmdevapi: Fixed buffer size passed to RegEnumKeyExW. 2010-12-31 16:27:47 +01:00
Michael Stefaniuc
1df7dab115 mmdevapi: Standardize the COM usage in devenum.c. 2010-12-14 12:10:58 +01:00
Michael Stefaniuc
8e77be63f4 mmdevapi: Use an iface instead of a vtbl pointer in AEVImpl. 2010-12-09 12:22:14 +01: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
Austin English
aba65017d7 mmdevapi/tests: Increase timeout in capture tests. 2010-11-23 14:16:21 +01:00