mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-10 13:29:58 -05:00
volume: Increase PA_SW_VOLUME_SNPRINT_DB_MAX
10 bytes isn't enough for "-123.45 dB", including the terminating null byte.
This commit is contained in:
parent
fe6e41d7d2
commit
868a9d03ad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
* any release without warning and without being considered API or ABI
|
||||||
* breakage. You should not use this definition anywhere where it
|
* breakage. You should not use this definition anywhere where it
|
||||||
* might become part of an ABI. \since 0.9.15 */
|
* 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 */
|
/** 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);
|
char *pa_sw_volume_snprint_dB(char *s, size_t l, pa_volume_t v);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue