mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
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
This commit is contained in:
parent
d5caa0205f
commit
662988650a
1 changed files with 1 additions and 2 deletions
|
|
@ -426,7 +426,6 @@ static int record_stream_process_msg(pa_msgobject *o, int code, void*userdata, i
|
||||||
if (!pa_pstream_is_pending(s->connection->pstream))
|
if (!pa_pstream_is_pending(s->connection->pstream))
|
||||||
send_memblock(s->connection);
|
send_memblock(s->connection);
|
||||||
|
|
||||||
pa_pstream_send_memblock(s->connection->pstream, s->index, 0, PA_SEEK_RELATIVE, chunk);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue