From 726d0b33b2750486f7e414b1f7892b0ea659351a Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 1 Apr 2003 21:22:11 +0000 Subject: 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 --- apps/onplay.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'apps') 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) 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(); -- cgit v1.2.3