1
0
Fork 0
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:
Hardeep Sidhu 2005-11-08 06:33:36 +00:00
parent 8fef62bdac
commit 1df2edb778

View file

@ -1019,14 +1019,14 @@ static void stop_playing(void)
/* Is this a really the end of playback or is a new playlist starting */ /* Is this a really the end of playback or is a new playlist starting */
static void check_playlist_end(int direction) static void check_playlist_end(int direction)
{ {
/* Use the largest possible step size to account for skipped tracks */ /* Use the largest possible step size to account for skipped tracks */
int steps = playlist_amount(); int steps = playlist_amount();
if (direction < 0) if (direction < 0)
steps = -steps; steps = -steps;
if (playlist_next(steps) < 0) if (playlist_next(steps) < 0)
is_playing = false; is_playing = false;
} }
static void update_playlist(void) static void update_playlist(void)
@ -1039,7 +1039,7 @@ static void update_playlist(void)
else else
{ {
/* End of playlist? */ /* End of playlist? */
check_playlist_end(1); check_playlist_end(1);
} }
playlist_update_resume_info(audio_current_track()); playlist_update_resume_info(audio_current_track());
@ -1415,8 +1415,8 @@ static void mpeg_thread(void)
DEBUGF("No more files to play\n"); DEBUGF("No more files to play\n");
filling = false; filling = false;
check_playlist_end(-1); check_playlist_end(-1);
current_track_counter++; current_track_counter++;
} else { } else {
/* Make it read more data */ /* Make it read more data */
filling = true; filling = true;