summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 47cb832be4..b8d8a0c8d0 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1154,3 +1154,9 @@ bool pcmbuf_is_crossfade_enabled(void)
return crossfade_enabled;
}
+
+void pcmbuf_play_remainder(void)
+{
+ if (audiobuffer_fillpos)
+ pcmbuf_flush_fillpos();
+}