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)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 31 Jan 2011 16:15:05 +0000 (17:15 +0100)
commit1e2c1467ae042a3c6bb1a6bc0c07aeff13ec5edb
treee019a60d0013170bb45847e31f6521f862fdb60c
parentede0635d45342f6e06aa213350ce006c2dcb6628
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