summaryrefslogtreecommitdiffstats
path: root/polyp/sample.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-03 20:14:23 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-03 20:14:23 +0000
commit4a9239f808b08cf391ded6052bab9cc499e4b505 (patch)
tree5d595ca0312e42734435948603db4210c734e808 /polyp/sample.h
parentc73a298f8887e5c96bc53dc1b2aad2fdbb674f64 (diff)
add CPU load limiter
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@176 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/sample.h')
-rw-r--r--polyp/sample.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/sample.h b/polyp/sample.h
index a5479562..0141a7cd 100644
--- a/polyp/sample.h
+++ b/polyp/sample.h
@@ -116,6 +116,9 @@ double pa_volume_to_dB(pa_volume_t v);
#define PA_DECIBEL_MININFTY (-200)
#endif
+/** Pretty print a byte size value. (i.e. "2.5 MB") */
+void pa_bytes_snprint(char *s, size_t l, off_t v);
+
PA_C_DECL_END
#endif