Pulsesink: Allow chunks up to bufsize instead of segsize L24.14
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 31 Jan 2011 04:58:36 +0000 (05:58 +0100)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Wed, 6 Jul 2011 12:37:20 +0000 (14:37 +0200)
commit44ac0c9bbaa758356195f6e62ae09a82f0071b82
tree96d29fb9b1064ce3cf4224a7b0ea5e9e05afee23
parent901510563490ea416c3b2b2edd650c03de9797cb
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