summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-02-17 17:00:33 +0000
committerPierre Ossman <ossman@cendio.se>2006-02-17 17:00:33 +0000
commitb26df7e4a0df6783d4b8ef4bb18d4d2ae5695912 (patch)
treed2b02ec9b6b14a6293e631600b32287df14cc29d /src
parentd142c12c608b6fe594549961b1a5d845b60b1a1c (diff)
Properly clear members during init.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@509 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/polyp/stream.c5
1 files changed, 5 insertions, 0 deletions
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;