Commit Graph

110 Commits

Author SHA1 Message Date
Francois Gouget b6117b6869 wineoss.drv: Give a name to the mmdevapi critical sections, make them static and delete them when unloading the dll. 2011-11-15 19:37:35 +01:00
Jörg Höhle 00684f84a5 mmdevapi: IsFormatSupported EXCLUSIVE mode never returns S_FALSE. 2011-10-28 12:49:44 +02:00
Andrew Eikum 1ed42313a9 wineoss.drv: Only write as much data as will fit into the OSS buffer. 2011-10-12 17:06:55 +02:00
Andrew Eikum 8d133f54c2 wineoss.drv: Trim the sub-device part of the device path. 2011-10-11 13:37:49 +02:00
Andrew Eikum 8410dd353c audio: Change winmm import to delayed import. 2011-10-05 14:13:31 -05:00
Andrew Eikum fdda702acd wineoss.drv: Use a temporary OSS device to check format support. 2011-09-28 21:04:36 +02:00
Andrew Eikum f7364dfb4b mmdevapi: Don't fail if dwChannelMask is not set correctly. 2011-09-28 21:04:33 +02:00
Andrew Eikum a83bc10c78 wineoss.drv: Remove wave, mixer, and dsound driver code. 2011-09-26 18:34:20 +02:00
Jörg Höhle fabbebf94b wineoss: Simplify the test for 8bit linear PCM. 2011-09-26 18:09:19 +02:00
Jörg Höhle 8379680095 mmdevapi: Unlock buffer in case of ReleaseBuffer error. 2011-09-22 19:51:52 +02:00
Jörg Höhle 55efce6c9c wineoss: EAGAIN (OSS buffer full) is a regular situation. 2011-09-22 19:51:52 +02:00
Jörg Höhle 03ad9366f1 mmdevapi: Fix stuttering upon start and underrun. 2011-09-22 19:51:52 +02:00
Jörg Höhle 3e1d402881 mmdevapi: IsFormatSupported fills closest match iff it returns S_FALSE. 2011-09-09 14:24:08 +02:00
Jörg Höhle 08dd823c7c mmdevapi: Use UINT32 for a number of frames and UINT64 to sum them. 2011-09-08 20:08:09 +02:00
Jörg Höhle df201d3ef3 mmdevapi: Accept up to 8 channels. 2011-09-07 18:13:29 +02:00
Andrew Eikum c4b94b1ba4 mmdevapi: Automatically select the correct driver. 2011-09-01 18:06:37 +02:00
Jörg Höhle abf5b64f4c mmdevapi: Do not mix frames and bytes. 2011-08-30 17:10:40 +02:00
Jörg Höhle 541075c3db mmdevapi: After GetBuffer, refuse Reset, but Start/Stop is ok. 2011-08-24 11:52:06 +02:00
Jörg Höhle ea47c12ebe wineoss.drv: Fix AudioRenderClient write pointer calculation. 2011-08-22 16:14:34 +02:00
Marcus Meissner 2de37f0214 wineoss.drv: Print strerror of errno, not of -1 (Coverity). 2011-08-22 16:14:31 +02:00
Francois Gouget ed3c9a1eca Assorted spelling fixes. 2011-08-03 14:15:48 +02:00
Andrew Eikum e0f1aa0b05 wineoss.drv: Choose default device using a better method. 2011-07-27 19:42:42 +02:00
Andrew Eikum 80fd691e9e mmdevapi: Use a sane default if no buffer size is requested. 2011-07-18 18:31:06 +02:00
Francois Gouget a53e011021 wineoss.drv: Add a trailing '\n' to a TRACE() call. 2011-07-18 16:23:29 +02:00
Andrew Eikum 2174717fbd mmdevapi: Only enumerate devices that can be opened during initialization. 2011-07-14 14:39:46 +02:00
Francois Gouget 5e6d17384f wineoss.drv: Make the AudioSessionManager methods static. 2011-07-11 18:31:53 +02:00
Jacek Caban dbba09ca29 audiopolicy.idl: Fixed SetGroupingParam declaration. 2011-07-04 13:45:14 +02:00
Andrew Eikum 0085689f5d mmdevapi: Implement ISimpleAudioVolume::{Set, Get}Mute. 2011-06-20 19:31:57 +02:00
Andrew Eikum a93efd5346 mmdevapi: Fix refcounts in IAudioClient::GetService. 2011-06-20 19:31:39 +02:00
Andrew Eikum bc10fd3ce6 mmdevapi: Sessions should be unique per-device. 2011-06-14 12:59:39 +02:00
Jörg Höhle f68a36c87b wineoss: Properly allocate the WAVEFORMATEXTENSIBLE returned by GetMixFormat. 2011-06-06 21:49:21 +02:00
Andrew Eikum a63346aa40 wineoss.drv: Partially implement IAudioSessionManager2. 2011-06-06 21:49:18 +02:00
Marcus Meissner f8c8c13cc5 wineoss.drv: Mark internal symbols with hidden visibility. 2011-05-30 11:12:32 +02:00
Gerald Pfeifer be57450fee wineoss.drv: Cope with system which lack SNDCTL_DSP_HALT. 2011-05-20 10:35:27 +02:00
Gerald Pfeifer bed73e9e73 wineoss.drv: Support platforms that do not feature AFMT_FLOAT. 2011-05-09 12:08:20 +02:00
Gerald Pfeifer 051b64b66f wineoss.drv: Use AFMT_S24_LE instead of AFMT_S24_PACKED. 2011-05-09 12:07:57 +02:00
Andrew Eikum 733ed828be wineoss.drv: Implement volume control interfaces. 2011-05-09 11:58:46 +02:00
Andrew Eikum 836c5fa5bc wineoss.drv: Move IAudioClock closer to its related interfaces. 2011-05-09 11:58:44 +02:00
Alexandre Julliard 92e05ed981 wineoss: Get rid of %ll printf formats. 2011-05-02 21:03:15 +02:00
Alexandre Julliard f60a0f5e56 configure: Improve the detection of OSS v4. 2011-05-02 20:07:04 +02:00
Andrew Eikum 4a95e7b0c9 wineoss.drv: Implement 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 be332326ba wineoss.drv: Add mmdevapi driver. 2011-04-27 17:47:05 +02:00
Austin English 17adb6c408 wineoss.drv: Remove extraneous parentheses (LLVM/Clang). 2011-04-13 14:13:55 +02:00
Jörg Höhle 75dbd1162e winmm: Audio drivers unconditionally invoke DriverCallback. 2011-04-11 17:32:29 +02:00
Alexandre Julliard 1644b25847 wineoss.drv: Remove unnecessary ifdefs. 2011-03-28 22:11:45 +02:00
Jörg Höhle 3a5c79fac2 wineoss: Fix 64-bits incompatibilities. 2011-03-15 17:14:08 +01:00
Jörg Höhle e7b07680c5 wineoss: Ignore failure to notify winmm wave clients. 2011-03-15 17:14:08 +01:00
Marcus Meissner 242cbcaa27 wineoss.drv: Fixed incorrect sizeof() (Coverity). 2011-02-23 15:00:30 +01:00
Michael Stefaniuc 22d645ab4d wineoss.drv: Standardize the COM usage in dscapture.c. 2010-12-08 16:10:42 +01:00