summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/pcmbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 2ba6b6f..1030490 100644
--- a/apps/pcmbuf.c
+++ b/apps/pcmbuf.c
@@ -1135,9 +1135,10 @@ static void pcmbuf_fade_tick(void)
}
}
-/* Fade channel in or out in the background - must pause it first */
+/* Fade channel in or out in the background */
void pcmbuf_fade(bool fade, bool in)
{
+ /* Must pause any active fade */
pcm_play_lock();
if (fade_state != PCM_NOT_FADING)