fix return value of pa_frame_aligned()
authorLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2008 16:26:24 +0000 (18:26 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 21 Oct 2008 16:26:24 +0000 (18:26 +0200)
src/pulsecore/sample-util.c
src/pulsecore/sample-util.h

index 7b9ac7b..9f0f795 100644 (file)
@@ -777,7 +777,7 @@ size_t pa_frame_align(size_t l, const pa_sample_spec *ss) {
     return (l/fs) * fs;
 }
 
-int pa_frame_aligned(size_t l, const pa_sample_spec *ss) {
+pa_bool_t pa_frame_aligned(size_t l, const pa_sample_spec *ss) {
     size_t fs;
 
     pa_assert(ss);
index 06ecb72..2fe2c81 100644 (file)
@@ -71,7 +71,7 @@ void pa_volume_memchunk(
 
 size_t pa_frame_align(size_t l, const pa_sample_spec *ss) PA_GCC_PURE;
 
-int pa_frame_aligned(size_t l, const pa_sample_spec *ss) PA_GCC_PURE;
+pa_bool_t pa_frame_aligned(size_t l, const pa_sample_spec *ss) PA_GCC_PURE;
 
 void pa_interleave(const void *src[], unsigned channels, void *dst, size_t ss, unsigned n);
 void pa_deinterleave(const void *src, void *dst[], unsigned channels, size_t ss, unsigned n);