[polypaudio-commits] r509 - /trunk/src/polyp/stream.c

svnmailer-noreply at 0pointer.de svnmailer-noreply at 0pointer.de
Fri Feb 17 09:00:35 PST 2006


Author: ossman
Date: Fri Feb 17 18:00:33 2006
New Revision: 509

URL: http://0pointer.de/cgi-bin/viewcvs.cgi?rev=509&root=polypaudio&view=rev
Log:
Properly clear members during init.

Modified:
    trunk/src/polyp/stream.c

Modified: trunk/src/polyp/stream.c
URL: http://0pointer.de/cgi-bin/viewcvs.cgi/trunk/src/polyp/stream.c?rev=509&root=polypaudio&r1=508&r2=509&view=diff
==============================================================================
--- trunk/src/polyp/stream.c (original)
+++ trunk/src/polyp/stream.c Fri Feb 17 18:00:33 2006
@@ -77,6 +77,11 @@
     memset(&s->buffer_attr, 0, sizeof(s->buffer_attr));
 
     s->mcalign = pa_mcalign_new(pa_frame_size(ss), c->memblock_stat);
+
+    s->peek_memchunk.length = 0;
+    s->peek_memchunk.memblock = NULL;
+
+    s->record_memblockq = NULL;
 
     s->counter = 0;
     s->previous_time = 0;




More information about the pulseaudio-commits mailing list