From b26df7e4a0df6783d4b8ef4bb18d4d2ae5695912 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 17 Feb 2006 17:00:33 +0000 Subject: Properly clear members during init. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@509 fefdeb5f-60dc-0310-8127-8f9354f1896f --- src/polyp/stream.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/polyp/stream.c b/src/polyp/stream.c index fef3c00f..35de2d01 100644 --- a/src/polyp/stream.c +++ b/src/polyp/stream.c @@ -78,6 +78,11 @@ pa_stream *pa_stream_new(pa_context *c, const char *name, const pa_sample_spec * 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; s->previous_ipol_time = 0; -- cgit