diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-17 19:37:29 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-17 19:37:29 +0000 |
commit | e75b65715b2fc9a3363bd4ac598fe02888b7ed21 (patch) | |
tree | 4143a433981356e6a784ecf0a0c0bfc3806348ea /polyp/polyplib-introspect.c | |
parent | 81822a751929fbc153282de3af447b9430d5c474 (diff) |
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
Diffstat (limited to 'polyp/polyplib-introspect.c')
-rw-r--r-- | polyp/polyplib-introspect.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/polyp/polyplib-introspect.c b/polyp/polyplib-introspect.c index 9a7ec157..0efc599d 100644 --- a/polyp/polyplib-introspect.c +++ b/polyp/polyplib-introspect.c @@ -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; |