]> code.delx.au - pulseaudio/blobdiff - polyp/polyplib-introspect.h
add total sample cache size to statistics
[pulseaudio] / polyp / polyplib-introspect.h
index 25a2db5e99b29a20b44d613e7eb21de68e76fbe8..1cc79d0fdce18c1bedcc4beb09ff413c0b84bca1 100644 (file)
@@ -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 */