[PATCH] winepulse.drv: Print a winediag error when PA buffer size is too small.
Sebastian Lackner
sebastian at fds-team.de
Thu Dec 10 10:47:03 CST 2015
On 10.12.2015 17:35, Andrew Eikum wrote:
> 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 at codeweavers.com>
> ---
> dlls/winepulse.drv/mmdevdrv.c | 12 ++++++++++--
> 1 file changed, 10 insertions(+), 2 deletions(-)
>
Thanks, the patch works as expected:
err:winediag:AudioClient_Initialize PulseAudio buffer too small (35280 < 70560) - PULSE_LATENCY_MSEC is 100
Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
More information about the wine-patches
mailing list