summaryrefslogtreecommitdiffstats
path: root/src/pulse/volume.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-10-03 17:45:55 +0200
committerLennart Poettering <lennart@poettering.net>2008-10-03 17:45:55 +0200
commit28af9944fe0560229efdcf9f0180568fd5a444c3 (patch)
treed84e8e7cdc01f586a75669e26258f83d782df9d5 /src/pulse/volume.h
parentbde142c237924870e9b09d09d5d2a7186de2e249 (diff)
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI
Diffstat (limited to 'src/pulse/volume.h')
-rw-r--r--src/pulse/volume.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/pulse/volume.h b/src/pulse/volume.h
index 90fb59e5..9f6e5f05 100644
--- a/src/pulse/volume.h
+++ b/src/pulse/volume.h
@@ -130,8 +130,12 @@ pa_cvolume* pa_cvolume_init(pa_cvolume *a);
/** Set the volume of all channels to the specified parameter */
pa_cvolume* pa_cvolume_set(pa_cvolume *a, unsigned channels, pa_volume_t v);
-/** Maximum length of the strings returned by pa_cvolume_snprint() */
-#define PA_CVOLUME_SNPRINT_MAX 64
+/** Maximum length of the strings returned by
+ * pa_cvolume_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.*/
+#define PA_CVOLUME_SNPRINT_MAX 320
/** Pretty print a volume structure */
char *pa_cvolume_snprint(char *s, size_t l, const pa_cvolume *c);