[polypaudio-commits] r683 - /trunk/src/polypcore/memblockq.c
svnmailer-noreply at 0pointer.de
svnmailer-noreply at 0pointer.de
Wed Apr 12 10:09:51 PDT 2006
Author: lennart
Date: Wed Apr 12 19:09:51 2006
New Revision: 683
URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=683&root=polypaudio&view=rev
Log:
when flushin a memblockq, set the write index to the read index
Modified:
trunk/src/polypcore/memblockq.c
Modified: trunk/src/polypcore/memblockq.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polypcore/memblockq.c?rev=683&root=polypaudio&r1=682&r2=683&view=diff
==============================================================================
--- trunk/src/polypcore/memblockq.c (original)
+++ trunk/src/polypcore/memblockq.c Wed Apr 12 19:09:51 2006
@@ -548,6 +548,8 @@
assert(bq->n_blocks == 0);
+ bq->write_index = bq->read_index;
+
pa_memblockq_prebuf_force(bq);
}
More information about the pulseaudio-commits
mailing list