summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/pcmbuf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 55a364b..e0bfa1f 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -831,8 +831,9 @@ static size_t crossfade_find_buftail(size_t buffer_rem, size_t buffer_need)
}
/* Returns the number of bytes _NOT_ mixed/faded */
-static int crossfade_mix_fade(int factor, size_t size, void *buf, size_t *out_index,
- unsigned long elapsed, off_t offset)
+static size_t crossfade_mix_fade(int factor, size_t size, void *buf,
+ size_t *out_index, unsigned long elapsed,
+ off_t offset)
{
if (size == 0)
return 0;