summaryrefslogtreecommitdiffstats
path: root/polyp/sample.h
diff options
context:
space:
mode:
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