forked from len0rd/rockbox
Removed tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7787 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8fef62bdac
commit
1df2edb778
1 changed files with 9 additions and 9 deletions
|
|
@ -1019,14 +1019,14 @@ static void stop_playing(void)
|
|||
/* Is this a really the end of playback or is a new playlist starting */
|
||||
static void check_playlist_end(int direction)
|
||||
{
|
||||
/* Use the largest possible step size to account for skipped tracks */
|
||||
int steps = playlist_amount();
|
||||
/* Use the largest possible step size to account for skipped tracks */
|
||||
int steps = playlist_amount();
|
||||
|
||||
if (direction < 0)
|
||||
steps = -steps;
|
||||
if (direction < 0)
|
||||
steps = -steps;
|
||||
|
||||
if (playlist_next(steps) < 0)
|
||||
is_playing = false;
|
||||
if (playlist_next(steps) < 0)
|
||||
is_playing = false;
|
||||
}
|
||||
|
||||
static void update_playlist(void)
|
||||
|
|
@ -1039,7 +1039,7 @@ static void update_playlist(void)
|
|||
else
|
||||
{
|
||||
/* End of playlist? */
|
||||
check_playlist_end(1);
|
||||
check_playlist_end(1);
|
||||
}
|
||||
|
||||
playlist_update_resume_info(audio_current_track());
|
||||
|
|
@ -1415,8 +1415,8 @@ static void mpeg_thread(void)
|
|||
DEBUGF("No more files to play\n");
|
||||
filling = false;
|
||||
|
||||
check_playlist_end(-1);
|
||||
current_track_counter++;
|
||||
check_playlist_end(-1);
|
||||
current_track_counter++;
|
||||
} else {
|
||||
/* Make it read more data */
|
||||
filling = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue