mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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:
parent
d142c12c60
commit
b26df7e4a0
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue