mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
modify pa_bytes_snprint() to return the string we just wrote to. This should be binary compat with older versions which returned void
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1259 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
99db0672c7
commit
d89066036b
2 changed files with 4 additions and 2 deletions
|
|
@ -182,7 +182,7 @@ pa_sample_format_t pa_parse_sample_format(const char *format);
|
|||
char* pa_sample_spec_snprint(char *s, size_t l, const pa_sample_spec *spec);
|
||||
|
||||
/** Pretty print a byte size value. (i.e. "2.5 MiB") */
|
||||
void pa_bytes_snprint(char *s, size_t l, unsigned v);
|
||||
char* pa_bytes_snprint(char *s, size_t l, unsigned v);
|
||||
|
||||
PA_C_DECL_END
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue