From 28af9944fe0560229efdcf9f0180568fd5a444c3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 3 Oct 2008 17:45:55 +0200 Subject: increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI --- src/pulse/volume.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/pulse/volume.h') 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); -- cgit