Properly clear members during init.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@509 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-02-17 17:00:33 +00:00
parent d142c12c60
commit b26df7e4a0

View file

@ -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;