[pulseaudio-commits] src/pulse
Tanu Kaskinen
tanuk at kemper.freedesktop.org
Fri Mar 14 07:35:16 PDT 2014
src/pulse/volume.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 868a9d03ad9b22787a6d83836544931144437612
Author: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Date: Sun Mar 9 10:56:07 2014 +0200
volume: Increase PA_SW_VOLUME_SNPRINT_DB_MAX
10 bytes isn't enough for "-123.45 dB", including the terminating null
byte.
diff --git a/src/pulse/volume.h b/src/pulse/volume.h
index 7806954..97fc10b 100644
--- a/src/pulse/volume.h
+++ b/src/pulse/volume.h
@@ -216,7 +216,7 @@ char *pa_volume_snprint(char *s, size_t l, pa_volume_t v);
* 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.15 */
-#define PA_SW_VOLUME_SNPRINT_DB_MAX 10
+#define PA_SW_VOLUME_SNPRINT_DB_MAX 11
/** Pretty print a volume but show dB values. \since 0.9.15 */
char *pa_sw_volume_snprint_dB(char *s, size_t l, pa_volume_t v);
More information about the pulseaudio-commits
mailing list