summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/pcmbuf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 55a364b1be..e0bfa1f62a 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)
831} 831}
832 832
833/* Returns the number of bytes _NOT_ mixed/faded */ 833/* Returns the number of bytes _NOT_ mixed/faded */
834static int crossfade_mix_fade(int factor, size_t size, void *buf, size_t *out_index, 834static size_t crossfade_mix_fade(int factor, size_t size, void *buf,
835 unsigned long elapsed, off_t offset) 835 size_t *out_index, unsigned long elapsed,
836 off_t offset)
836{ 837{
837 if (size == 0) 838 if (size == 0)
838 return 0; 839 return 0;