mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-12 14:42:31 -05:00
Stop playing immediately when skipping to next or previous track.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3522 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
46dea9080b
commit
d92265b5b6
1 changed files with 4 additions and 1 deletions
|
|
@ -914,8 +914,10 @@ int wps_show(void)
|
|||
if ( lastbutton != BUTTON_LEFT )
|
||||
break;
|
||||
#endif
|
||||
if (!id3 || (id3->elapsed < 3*1000))
|
||||
if (!id3 || (id3->elapsed < 3*1000)) {
|
||||
mpeg_stop();
|
||||
mpeg_prev();
|
||||
}
|
||||
else {
|
||||
if (!paused)
|
||||
mpeg_pause();
|
||||
|
|
@ -933,6 +935,7 @@ int wps_show(void)
|
|||
if ( lastbutton != BUTTON_RIGHT )
|
||||
break;
|
||||
#endif
|
||||
mpeg_stop();
|
||||
mpeg_next();
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue