winepulse.drv: Print a winediag error when PA buffer size is too small.
commita599ea83c8148685c2b3e69102aaf4cf3c2d48f3
authorAndrew Eikum <aeikum@codeweavers.com>
Thu, 10 Dec 2015 16:35:55 +0000 (10 10:35 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 12 Dec 2015 04:30:27 +0000 (12 05:30 +0100)
tree8f38e069a74c0352e44489d04702e4f32208c471
parenta11b8ded1dc86f04ef07265def0c0d5e95326b36
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>
dlls/winepulse.drv/mmdevdrv.c