summaryrefslogtreecommitdiffstats
path: root/polyp/sample.h
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/sample.h')
-rw-r--r--polyp/sample.h4
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