diff options
Diffstat (limited to 'polyp/sample.h')
-rw-r--r-- | polyp/sample.h | 3 |
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 |