summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-04-01 21:22:11 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-04-01 21:22:11 +0000
commit726d0b33b2750486f7e414b1f7892b0ea659351a (patch)
tree73dd1cb89034fe46c73535b5711b75b2d8e54e52
parent2bf4a0541067360c76f7cd2cf058613512c32ee6 (diff)
downloadrockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.zip
rockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.tar.gz
rockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.tar.bz2
rockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.tar.xz
Make sure that no music is playing before starting VBRFix (it uses the MP3 buffer)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3506 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/onplay.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 232bda2..02782fe 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -123,6 +123,12 @@ static bool vbr_fix(void)
int fpos;
+ if(mpeg_status())
+ {
+ splash(HZ*2, 0, true, "Stop the playback");
+ return reload_dir;
+ }
+
lcd_clear_display();
lcd_puts_scroll(0, 0, selected_file);
lcd_update();