From 0574151ee0d9a9cc5d8902e1741ec18b9a8f7eee Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Thu, 23 Jun 2005 17:31:44 +0000 Subject: [PATCH] Don't need to stop audio before changing tracks. Fixes problem when selecting a new track in playlist viewer on iriver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6846 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist_viewer.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c index 8b517b686d..2cdfa7f582 100644 --- a/apps/playlist_viewer.c +++ b/apps/playlist_viewer.c @@ -702,9 +702,6 @@ static int onplay_menu(int index) { case 0: /* delete track */ - if (current) - audio_stop(); - playlist_delete(viewer.playlist, tracks[index].index); if (current) @@ -954,16 +951,12 @@ bool playlist_viewer_ex(char* filename) } else if (!viewer.playlist) { - /* Stop current track and play new track */ - audio_stop(); + /* play new track */ playlist_start(tracks[INDEX(viewer.cursor_pos)].index, 0); update_playlist(false); } else { - /* Play track from playlist on disk */ - audio_stop(); - /* New playlist */ if (playlist_set_current(viewer.playlist) < 0) goto exit;