diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-09-19 23:12:41 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-09-19 23:12:41 +0000 |
commit | b118982674effa44aa1687e8bd0d2bc0eb6254b2 (patch) | |
tree | b2a63ba549b374f94a1dec9c1e4e07e05f0b8058 /polyp/sample.h | |
parent | 70a30530e03ed4c43639575a479d77e38fea56ea (diff) |
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
Diffstat (limited to 'polyp/sample.h')
-rw-r--r-- | polyp/sample.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/sample.h b/polyp/sample.h index 1e42a260..501172a8 100644 --- a/polyp/sample.h +++ b/polyp/sample.h @@ -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 |