]> code.delx.au - pulseaudio/commit
Fighting rewinds: Seek and write data in the same message
authorDavid Henningsson <david.henningsson@canonical.com>
Mon, 6 Dec 2010 15:25:25 +0000 (16:25 +0100)
committerColin Guthrie <cguthrie@mandriva.org>
Mon, 31 Jan 2011 11:38:17 +0000 (11:38 +0000)
commitfe7b972487bfc85940d2d427096fd9189af3bd7a
treeee5efb8c402970bd641fef9e2645947305837faa
parent1250b5d735129c3e04c45484f80f99cdb12f39a1
Fighting rewinds: Seek and write data in the same message

Allow a message in the queue to perform both a seek and a post data.
For clients that do not use PA_SEEK_RELATIVE (e g gstreamer), this
cuts the message count - and sometimes even the rewinds - in half.

Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/pulsecore/protocol-native.c