Commit Graph

22 Commits

Author SHA1 Message Date
Andrew Eikum a599ea83c8 winepulse.drv: Print a winediag error when PA buffer size is too small.
winepulse depends on PulseAudio to allocate the entire requested
buffer size. If it allocates less than that size, then mmdevapi
clients may not be able to write as much data as they expect. So, we
should warn the user that the PA buffer is too small.

This is a common symptom of users setting the PULSE_LATENCY_MSEC
environment variable, which would help in some situations with
winealsa, but is no longer required with winepulse.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-12 05:30:27 +01:00
Francois Gouget 413c6f60cf Assorted spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-02 12:59:52 +09:00
Svante Signell 9d5173f77d winepulse.drv: Avoid PATH_MAX in Windows code.
Signed-off-by: Svante Signell <svante.signell@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 15:54:00 +09:00
André Hentschel 7f6634b2bd winepulse: Add missing return after default case in a switch (Coverity).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 01:20:38 +09:00
André Hentschel 005ff50252 winepulse: Avoid 32-bit calculation with 64-bit result (Coverity).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 01:20:38 +09:00
Andrew Eikum a410990f7c winepulse: Prefer PulseAudio driver.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:40 +09:00
Mark Harmstone b56682cc49 winepulse: Return PKEY_AudioEndpoint_PhysicalSpeakers device prop.
Edited by Maarten Lankhorst: No support for multiple devices in winepulse yet.
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-04 14:41:40 +09:00
Mark Harmstone 8c62cc5e66 winepulse: Add stub for GetPropValue.
Edited by Maarten Lankhorst: No support for multiple devices in winepulse yet.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:40 +09:00
Andrew Eikum 15323580f8 winepulse: In Shared mode, track device position in bytes.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:39 +09:00
Andrew Eikum 8ed553c3c7 winepulse: Always mute buffer.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:39 +09:00
Mark Harmstone 0d7cee0dd6 winepulse: Handle stream create failing correctly.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 14:41:39 +09:00
Sebastian Lackner 64e83ddcad winepulse.drv: Add a missing linebreak to ERR message.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:25:36 +09:00
Maarten Lankhorst e1933acb7b winepulse: Add support for IMarshal.
Based on Jeff Klein's patches for the other drivers.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:12:44 +09:00
Maarten Lankhorst cbbe26ea88 winepulse: Fixup IsFormatSupported calls.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:12:27 +09:00
Maarten Lankhorst 10c72255f2 winepulse: Forward winmm functions to winealsa.
PulseAudio doesn't support MIDI, so we forward to ALSA to provide MIDI
support for winepulse users.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:11:50 +09:00
Maarten Lankhorst 63ce6219b5 winepulse: Add session support.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:10:35 +09:00
Maarten Lankhorst 94d88e000a winepulse: Add audiostreamvolume.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 11:10:29 +09:00
Maarten Lankhorst 8f44307741 winepulse: Add IAudioClock and IAudioClock2.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:28 +09:00
Maarten Lankhorst d7eb9090b7 winepulse: Add IAudioRenderClient and IAudioCaptureClient.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:28 +09:00
Maarten Lankhorst 6f632affa7 winepulse: Add audioclient.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:28 +09:00
Maarten Lankhorst 84d1de17eb winepulse: Add format and period probing.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:28 +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