Pulsesink: Allow chunks up to bufsize instead of segsize
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 31 Jan 2011 04:58:36 +0000 (05:58 +0100)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Fri, 11 May 2012 18:08:20 +0000 (14:08 -0400)
commitd661968257f39ab2c29b3e5481f457da5593a44e
treef3f64d32f5baf9f07e6ac1778923daf151b73668
parente042fffb37047c3b8caf0d6806f5caa0333161cc
Pulsesink: Allow chunks up to bufsize instead of segsize

By allowing larger chunks to be sent, PulseAudio will have a
lower CPU usage. This is especially important on low-end machines,
where PulseAudio can crash if packets are coming in at a higher
rate than PulseAudio can process them.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
ext/pulse/pulsesink.c