summaryrefslogtreecommitdiffstats
path: root/apps/pcmbuf.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2011-08-23 05:58:28 +0000
committerMichael Sevakis <jethead71@rockbox.org>2011-08-23 05:58:28 +0000
commit4d903f27c3b4efaa917e7959433330160040e5d4 (patch)
treedd9ca244fe0fc1e6cd2dd731641ee6ed2288afc1 /apps/pcmbuf.c
parent5078d460c678705aa3226fd2768bc85d7b3008ad (diff)
downloadrockbox-4d903f27c3b4efaa917e7959433330160040e5d4.tar.gz
rockbox-4d903f27c3b4efaa917e7959433330160040e5d4.tar.bz2
rockbox-4d903f27c3b4efaa917e7959433330160040e5d4.zip
Fix a miscomment in pcmbuf.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30341 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/pcmbuf.c')
-rw-r--r--apps/pcmbuf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/pcmbuf.c b/apps/pcmbuf.c
index 2ba6b6f154..10304903c7 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)