summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-11-19 14:04:07 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-11-19 14:04:07 +0000
commit731b22e2e747cf28ee447e4f0af8053d46d0a613 (patch)
treea2fbd7cee1ee793a8258e69284cb9b3733590191 /apps
parent76469cf154ad2ff82045410c880ff72ff822320f (diff)
downloadrockbox-731b22e2e747cf28ee447e4f0af8053d46d0a613.zip
rockbox-731b22e2e747cf28ee447e4f0af8053d46d0a613.tar.gz
rockbox-731b22e2e747cf28ee447e4f0af8053d46d0a613.tar.bz2
rockbox-731b22e2e747cf28ee447e4f0af8053d46d0a613.tar.xz
Fixed the track skipping problem when repeat all and change to next
directory options were set to off. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7994 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/playback.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 2418eba..47c1991 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -264,7 +264,10 @@ static void swap_codec(void)
static void voice_boost_cpu(bool state)
{
static bool voice_cpu_boosted = false;
-
+
+ if (!voice_codec_loaded)
+ state = false;
+
if (state != voice_cpu_boosted)
{
cpu_boost(state);
@@ -1631,9 +1634,6 @@ void audio_invalidate_tracks(void)
static void initiate_track_change(int peek_index)
{
- if (!playlist_check(peek_index))
- return ;
-
/* Detect if disk is spinning.. */
if (filling) {
queue_post(&audio_queue, AUDIO_PLAY, 0);