memblockq: move minreq handling in to memblockq
authorPierre Ossman <ossman@cendio.se>
Thu, 19 May 2016 13:26:08 +0000 (15:26 +0200)
committerArun Raghavan <arun@arunraghavan.net>
Fri, 22 Jul 2016 09:14:35 +0000 (14:44 +0530)
commiteeec52caa0622504f7a0d065dd61db1dbf5a9569
treef4912aefbd0094a0798551335e0d75fdd1ed8ba2
parentedff1b2204587925178ffd00736afdbcdfb8778f
memblockq: move minreq handling in to memblockq

Having it handled in the callers proved to be a poor fit as it
became difficult to handle a shrinking minreq sanely. It could end
up in a state where the request was never sent downstream to the
client.
src/pulsecore/memblockq.c
src/pulsecore/protocol-native.c