summaryrefslogtreecommitdiffstats
path: root/src/pulse/sample.h
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2009-10-02 17:24:44 +0300
committerTanu Kaskinen <tanuk@iki.fi>2009-10-02 17:24:44 +0300
commit019331d25b6af107fb8cacc3ada552e7567a64bf (patch)
treed5545e795e164fb6cd8edae1a45e7b8bb966ee12 /src/pulse/sample.h
parent587131917f9129c8347c789febb7e755dfb091de (diff)
parentafd1b6d355ef1a41cb3592485855e273a5de69c1 (diff)
Merge branch 'master' into dbus-work
Conflicts: src/daemon/daemon-conf.c
Diffstat (limited to 'src/pulse/sample.h')
-rw-r--r--src/pulse/sample.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pulse/sample.h b/src/pulse/sample.h
index 53d7dea3..7a4a55a0 100644
--- a/src/pulse/sample.h
+++ b/src/pulse/sample.h
@@ -302,6 +302,13 @@ pa_sample_format_t pa_parse_sample_format(const char *format) PA_GCC_PURE;
/** Pretty print a sample type specification to a string */
char* pa_sample_spec_snprint(char *s, size_t l, const pa_sample_spec *spec);
+/** Maximum required string length for pa_bytes_snprint(). Please note
+ * that this value can change with any release without warning and
+ * without being considered API or ABI breakage. You should not use
+ * this definition anywhere where it might become part of an
+ * ABI. \since 0.9.16 */
+#define PA_BYTES_SNPRINT_MAX 11
+
/** Pretty print a byte size value. (i.e. "2.5 MiB") */
char* pa_bytes_snprint(char *s, size_t l, unsigned v);