1
0
Fork 0
forked from len0rd/rockbox

patch #702874 by Craig Sather, fixes a pause bug in WPS

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3447 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2003-03-15 12:09:09 +00:00
parent 7105b28bba
commit 001226c7e1
2 changed files with 7 additions and 1 deletions

View file

@ -739,6 +739,12 @@ int wps_show(void)
restore = true;
}
if (mpeg_status() & MPEG_STATUS_PAUSE) {
paused = true;
} else {
paused = false;
}
while ( 1 )
{

View file

@ -1300,6 +1300,7 @@ static void mpeg_thread(void)
/* Stop the current stream */
play_pending = false;
playing = false;
paused = false;
stop_dma();
reset_mp3_buffer();
@ -1339,7 +1340,6 @@ static void mpeg_thread(void)
/* Tell the file loading code that we want to start playing
as soon as we have some data */
play_pending = true;
paused = false;
update_playlist();
current_track_counter++;