summaryrefslogtreecommitdiff
path: root/apps
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 /apps
parent2bf4a0541067360c76f7cd2cf058613512c32ee6 (diff)
downloadrockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.tar.gz
rockbox-726d0b33b2750486f7e414b1f7892b0ea659351a.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/onplay.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 232bda2694..02782fe82c 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -123,6 +123,12 @@ static bool vbr_fix(void)
123 int fpos; 123 int fpos;
124 124
125 125
126 if(mpeg_status())
127 {
128 splash(HZ*2, 0, true, "Stop the playback");
129 return reload_dir;
130 }
131
126 lcd_clear_display(); 132 lcd_clear_display();
127 lcd_puts_scroll(0, 0, selected_file); 133 lcd_puts_scroll(0, 0, selected_file);
128 lcd_update(); 134 lcd_update();