Andrew Eikum : winepulse.drv: Buffer data locally when needed.

Alexandre Julliard julliard at winehq.org
Fri Oct 7 15:09:13 CDT 2016


Module: wine
Branch: stable
Commit: 026c3adbe5d904d54d686db21d298062c0f2d416
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=026c3adbe5d904d54d686db21d298062c0f2d416

Author: Andrew Eikum <aeikum at 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 at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 1245f8335c31a6078ed50fc17cff4d60877c72a4)
Signed-off-by: Michael Stefaniuc <mstefani at 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=026c3adbe5d904d54d686db21d298062c0f2d416



More information about the wine-cvs mailing list