mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
increase PA_CVOLUME_SNPRINT_MAX to a proper value and document that it is not considered part of the ABI
This commit is contained in:
parent
bde142c237
commit
28af9944fe
3 changed files with 16 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue