1
0
Fork 0
forked from len0rd/rockbox

Fix odd behaviour when rebuffering occurs during playback. This is hopefully the last nail in the coffins of FS#8455 and FS#8513, but I'll let some FLAC and Ogg users be the judge of that.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16459 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Steve Bavin 2008-02-29 23:27:55 +00:00
parent 8865490106
commit bda6f573da

View file

@ -687,7 +687,6 @@ static void audio_skip(int direction)
wps_offset += direction;
/* Immediately update the playlist index */
playlist_next(direction);
last_peek_offset -= direction;
track_changed = true;
}
else
@ -2046,11 +2045,11 @@ static int audio_check_new_track(void)
}
}
if (auto_dir_skip)
{
/* Update the playlist */
last_peek_offset -= ci.new_track;
if (auto_dir_skip)
{
/* If the track change was the result of an auto dir skip,
we need to update the playlist now */
next_playlist_index = playlist_next(ci.new_track);