Changes in v2: - Split the patch into four parts. - Simplified buffer allocation in pacat by taking advantage of realloc's behavior when the input pointer is null. - Made the silence buffer in pacat a global variable to reduce repeated allocation and freeing of the buffer. Tanu Kaskinen (4): pulse: Fix hole handling in pa_stream_peek(). simple: Handle holes in recording streams. padsp: Handle holes in recording streams. pacat: Handle holes in recording streams. src/Makefile.am | 8 ++++---- src/pulse/simple.c | 7 ++++++- src/pulse/stream.c | 20 ++++++++++++++++---- src/pulse/stream.h | 20 +++++++++++++++----- src/utils/pacat.c | 37 ++++++++++++++++++++++++++----------- src/utils/padsp.c | 15 ++++++++++++++- 6 files changed, 81 insertions(+), 26 deletions(-) -- 1.7.10.4