Module: wine
Branch: stable
Commit: 026c3adbe5d904d54d686db21d298062c0f2d416
URL: http://source.winehq.org/git/wine.git/?a=commit;h=026c3adbe5d904d54d686db21…
Author: Andrew Eikum <aeikum(a)codeweavers.com>
Date: Fri Feb 19 10:48:24 2016 -0600
winepulse.drv: Buffer data locally when needed.
PulseAudio doesn't make any buffer size guarantees. With some hardware
and some configurations, PulseAudio will fail to allocate the full
buffer requested by the application. So, we have to store the data
within winepulse until there is enough room in the PulseAudio buffer
to accept it.
Signed-off-by: Andrew Eikum <aeikum(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
(cherry picked from commit 1245f8335c31a6078ed50fc17cff4d60877c72a4)
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
---
dlls/winepulse.drv/mmdevdrv.c | 274 ++++++++++++++++++++++++++++++++----------
1 file changed, 212 insertions(+), 62 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=026c3adbe5d904d54d686…