Commit Graph

85 Commits

Author SHA1 Message Date
Michael Stefaniuc 6cf789cc74 wineoss.drv: Use debugstr_guid() to trace a guid.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-08 21:51:36 +09:00
Andrew Eikum b2caf7513a wineoss.drv: Avoid potential overflow (Coverity).
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:18:39 +09:00
Andrew Eikum 025e6650e4 wineoss.drv: Cap reported OSS fill level to expected level.
Some devices apparently return that the buffer contains an extra frame
that we never wrote. We should account for that to avoid an integer
underflow.
2015-04-06 23:23:43 +09:00
Andrew Eikum 932f392e08 wineoss.drv: Don't skip over position updates of less than one fragment. 2015-04-02 23:14:35 +09:00
Francois Gouget 0ca3c64e92 wineoss.drv: Remove an uneeded NONAMELESSUNION directive. 2015-03-27 00:12:27 +09:00
Andrew Eikum 50cdc6d7f3 wineoss.drv: Don't use SNDCTL_DSP_GETISPACE.
This shouldn't be needed as the device is opened in non-blocking mode,
and it appears this function is unimplemented on PCBSD.
2014-12-17 17:10:23 +01:00
Andrew Eikum d301254e72 mmdevapi: More accurately track device position. 2014-12-17 17:10:20 +01:00
André Hentschel d12e65af70 wineoss.drv: Remove unused string (Clang). 2014-12-04 14:03:21 +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 d5b597fee5 mmdevapi: Standardize period sizes. 2014-06-30 10:32:08 +02:00
Marcus Meissner eddf841ab3 winealsa/wineoss/winecoreaudio: Calculate frequency in 64bit (Coverity). 2014-06-17 09:07:34 +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
Andrew Eikum a5975bb601 mmdevapi: Fill buffer with silence in IAudioRenderClient::GetBuffer. 2013-11-12 19:06:09 +01:00
Jeff Klein 1582458d70 wineoss.drv: Implement IMarshal for IAudioClient. 2013-08-02 11:36:36 +02:00
Alexandre Julliard 8d8d55e1b0 wineoss.drv: Don't bother to free memory at process exit. 2013-05-15 10:30:36 +02:00
Andrew Eikum 6da3ce276b wineoss.drv: Set reasonable defaults if driver reports invalid values. 2013-01-28 19:43:32 +01:00
Jörg Höhle a39e423f6f mmdevapi: Avoid lock contention after SetEvent. 2012-12-20 18:06:53 +01:00
Jörg Höhle b18c5e811f mmdevapi: SetEventHandle is allowed only once. 2012-12-18 16:30:36 +01:00
Andrew Eikum dc0cef3d3b wineoss.drv: Improve IsFormatSupported handling. 2012-12-04 00:02:35 +01:00
Andrew Eikum e5551393bd wineoss.drv: Resolve some diff between winealsa and wineoss. 2012-05-22 20:49:30 +02:00
Andrew Eikum 1c37857a18 wineoss.drv: Track number of frames reserved by client in capture direction. 2012-05-22 20:49:29 +02:00
Francois Gouget d76d88a74b wineoss.drv: Make get_ossdevice_from_guid() static. 2012-04-20 12:00:25 +02:00
Andrew Eikum 81ca5d09b6 wineoss.drv: Prefix device names with direction indication. 2012-04-05 11:56:08 +02:00
Andrew Eikum e87cb774d1 mmdevapi: Use device GUIDs as unique identifiers. 2012-04-04 17:25:25 +02:00
Andrew Eikum f63267db80 wineoss.drv: Use device GUIDs as keys. 2012-04-04 17:24:54 +02:00
Andrew Eikum 7437eb63fc wineoss.drv: Fix DeleteTimerQueueTimer usage. 2012-02-23 17:40:29 +01:00
Andrew Eikum 67617c78a5 wineoss.drv: Downgrade most ERRs to WARNs. 2012-02-07 14:02:49 -06:00
Andrew Eikum bb1ca58114 wineoss.drv: Don't call GETOSPACE immediately after device initialization. 2012-02-06 10:24:04 -06:00
Andrew Eikum 5860a5b386 mmdevapi: Correctly convert UINT32 to LONG32. 2012-01-30 20:44:50 +01:00
Andrew Eikum 6d3e784d57 wineoss.drv: Fix buffer offset calculation. 2012-01-25 20:39:48 +01:00
Andrew Eikum 2c628af7b2 wineoss.drv: Use GETODELAY instead of GETOSPACE to determine device position. 2012-01-25 20:39:48 +01:00
Andrew Eikum 92e835111b wineoss.drv: Decouple MMDevAPI buffer and OSS buffer. 2012-01-25 20:39:48 +01:00
Jörg Höhle 04cf4dc06f wineoss: Reset accounts for dropped frames in capture mode. 2012-01-13 18:17:32 +01:00
Jörg Höhle 999423d34e dsound: Vista/XP SP2 reworked the Speaker Configuration. 2012-01-13 18:17:31 +01:00
Andrew Eikum 139e31bc00 wineoss.drv: Fix IAudioRenderClient::{Get,Release}Buffer protocol. 2012-01-10 10:48:47 +01:00
Jörg Höhle fcc9b74cb2 mmdevapi: Round buffer size like native in shared mode. 2012-01-09 15:34:47 +01:00
Jörg Höhle 6d23816300 wineoss: GetStreamLatency is constant, SNDCTL_DSP_GETODELAY is dynamic. 2012-01-06 19:24:19 +01:00
Jörg Höhle acd8d60faa mmdevapi: GetDevicePeriod returns constants. 2012-01-06 19:24:17 +01:00
Jörg Höhle 8316a77959 mmdevapi: Avoid HeapRealloc when no data need be copied. 2012-01-06 19:24:17 +01:00
Jörg Höhle 38f9ba0070 mmdevapi: Enforce limits on period and duration. 2011-12-19 20:15:43 +01:00
Andrew Eikum eed756c8dd wineoss.drv: Don't set volume in IAudioClient::Initialize. 2011-12-05 17:39:05 +01:00
Andrew Eikum 3cc871b0b0 wineoss.drv: Add period to latency calculation. 2011-12-01 19:49:11 +01:00
Andrew Eikum 65381d1c37 wineoss.drv: Remove volume setting support. 2011-12-01 19:49:06 +01:00
Jörg Höhle 7c5b90006c mmdevapi: SHAREDMODE_EXCLUSIVE + EVENTCALLBACK is too ... exclusive for now. 2011-11-22 18:24:53 +01:00
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 fdda702acd wineoss.drv: Use a temporary OSS device to check format support. 2011-09-28 21:04:36 +02:00