winepulse.drv: Buffer data locally when needed.
commit1245f8335c31a6078ed50fc17cff4d60877c72a4
authorAndrew Eikum <aeikum@codeweavers.com>
Fri, 19 Feb 2016 16:48:24 +0000 (19 10:48 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Sat, 20 Feb 2016 03:08:26 +0000 (20 12:08 +0900)
tree5cc5580d4190469789899f52f9748c372c8bd7bf
parent92da5e5d73abad5acc4897c67f35c0cb18f7ab20
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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/winepulse.drv/mmdevdrv.c