mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
remove global memblock statistic variables in favor of memblock_stat objects
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@137 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
81822a7519
commit
e75b65715b
32 changed files with 158 additions and 80 deletions
|
|
@ -42,8 +42,10 @@ static void context_stat_callback(struct pa_pdispatch *pd, uint32_t command, uin
|
|||
goto finish;
|
||||
|
||||
p = NULL;
|
||||
} else if (pa_tagstruct_getu32(t, &i.memblock_count) < 0 ||
|
||||
pa_tagstruct_getu32(t, &i.memblock_total) < 0 ||
|
||||
} else if (pa_tagstruct_getu32(t, &i.memblock_total) < 0 ||
|
||||
pa_tagstruct_getu32(t, &i.memblock_total_size) < 0 ||
|
||||
pa_tagstruct_getu32(t, &i.memblock_allocated) < 0 ||
|
||||
pa_tagstruct_getu32(t, &i.memblock_allocated_size) < 0 ||
|
||||
!pa_tagstruct_eof(t)) {
|
||||
pa_context_fail(o->context, PA_ERROR_PROTOCOL);
|
||||
goto finish;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue