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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 22 08:57:37 CST 2016


Module: wine
Branch: master
Commit: 1245f8335c31a6078ed50fc17cff4d60877c72a4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1245f8335c31a6078ed50fc17cff4d60877c72a4

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>

---

 dlls/winepulse.drv/mmdevdrv.c | 274 ++++++++++++++++++++++++++++++++----------
 1 file changed, 212 insertions(+), 62 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=1245f8335c31a6078ed50fc17cff4d60877c72a4



More information about the wine-cvs mailing list