mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
fix return value of pa_frame_aligned()
This commit is contained in:
parent
4ee5e06f38
commit
519bb556cd
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue