summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-introspect.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-01 22:46:27 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-01 22:46:27 +0000
commitc73a298f8887e5c96bc53dc1b2aad2fdbb674f64 (patch)
treec2308ac47873e778f86e32ed01dd69fff90b8825 /polyp/polyplib-introspect.h
parent5f52999c016495be1c34effdacd230a79cb52d0b (diff)
add total sample cache size to statistics
add size to sample cache entry info git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@175 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/polyplib-introspect.h')
-rw-r--r--polyp/polyplib-introspect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/polyp/polyplib-introspect.h b/polyp/polyplib-introspect.h
index 25a2db5e..1cc79d0f 100644
--- a/polyp/polyplib-introspect.h
+++ b/polyp/polyplib-introspect.h
@@ -180,6 +180,7 @@ struct pa_stat_info {
uint32_t memblock_total_size; /**< Currentl total size of allocated memory blocks */
uint32_t memblock_allocated; /**< Allocated memory blocks during the whole lifetime of the daemon */
uint32_t memblock_allocated_size; /**< Total size of all memory blocks allocated during the whole lifetime of the daemon */
+ uint32_t scache_size; /**< Total size of all sample cache entries. \since 0.4 */
};
/** Get daemon memory block statistics */
@@ -192,6 +193,7 @@ struct pa_sample_info {
pa_volume_t volume; /**< Default volume of this entry */
struct pa_sample_spec sample_spec; /**< Sample specification of the sampel */
pa_usec_t duration; /**< Duration of this entry */
+ uint32_t bytes; /**< Length of this sample in bytes. \since 0.4 */
};
/** Get information about a sample by its name */