mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
remove obnoxious assert from module-combine
tagstruct: add support for NULL strings improve pactl correct pa_bytes_snprint() pa_sample_spec_snprint(): don't fail on invalid sample spec rename PA_SAMPLE_SNPRINT_MAX_LENGTH to PA_SAMPLE_SPEC_SNPRINT_MAX git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@222 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
70a30530e0
commit
b118982674
15 changed files with 580 additions and 126 deletions
|
|
@ -86,7 +86,7 @@ int pa_sample_spec_valid(const struct pa_sample_spec *spec);
|
|||
int pa_sample_spec_equal(const struct pa_sample_spec*a, const struct pa_sample_spec*b);
|
||||
|
||||
/** Maximum required string length for pa_sample_spec_snprint() */
|
||||
#define PA_SAMPLE_SNPRINT_MAX_LENGTH 32
|
||||
#define PA_SAMPLE_SPEC_SNPRINT_MAX 32
|
||||
|
||||
/** Pretty print a sample type specification to a string */
|
||||
void pa_sample_spec_snprint(char *s, size_t l, const struct pa_sample_spec *spec);
|
||||
|
|
@ -117,7 +117,7 @@ double pa_volume_to_dB(pa_volume_t v);
|
|||
#endif
|
||||
|
||||
/** Pretty print a byte size value. (i.e. "2.5 MB") */
|
||||
void pa_bytes_snprint(char *s, size_t l, off_t v);
|
||||
void 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