Commit graph

65 commits

Author SHA1 Message Date
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
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
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