From 662988650a020c72e626702b6282ce4df7b6d082 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 10 Sep 2007 20:57:17 +0000 Subject: [PATCH] make sure we send each memblock only once when recording, not twice git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1793 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/pulsecore/protocol-native.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pulsecore/protocol-native.c b/src/pulsecore/protocol-native.c index a4983a0..52cec09 100644 --- a/src/pulsecore/protocol-native.c +++ b/src/pulsecore/protocol-native.c @@ -425,8 +425,7 @@ static int record_stream_process_msg(pa_msgobject *o, int code, void*userdata, i if (!pa_pstream_is_pending(s->connection->pstream)) send_memblock(s->connection); - - pa_pstream_send_memblock(s->connection->pstream, s->index, 0, PA_SEEK_RELATIVE, chunk); + break; } -- 2.7.4