pacmd: dynamically allocate ibuf and obuf
authorPino Toscano <toscano.pino@tiscali.it>
Mon, 14 Nov 2011 11:07:12 +0000 (12:07 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 2 Jan 2012 18:50:04 +0000 (00:20 +0530)
commitb6a3cc3ad6b2efff27f79927e42129ad9037130a
tree1ce500f785a1889ca35dec755e8aee96596ba146
parent9a92327c27a5a321fd15274fb5b1b180e5417a74
pacmd: dynamically allocate ibuf and obuf

Use pa_pipe_buf to determine the minimum size for ibuf and obuf, taking into
account the two descriptors that use each of them.

See bug #42715
src/utils/pacmd.c