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:
parent
8865490106
commit
bda6f573da
1 changed files with 3 additions and 4 deletions
|
@ -687,7 +687,6 @@ static void audio_skip(int direction)
|
||||||
wps_offset += direction;
|
wps_offset += direction;
|
||||||
/* Immediately update the playlist index */
|
/* Immediately update the playlist index */
|
||||||
playlist_next(direction);
|
playlist_next(direction);
|
||||||
last_peek_offset -= direction;
|
|
||||||
track_changed = true;
|
track_changed = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -2046,11 +2045,11 @@ static int audio_check_new_track(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Update the playlist */
|
||||||
|
last_peek_offset -= ci.new_track;
|
||||||
|
|
||||||
if (auto_dir_skip)
|
if (auto_dir_skip)
|
||||||
{
|
{
|
||||||
/* Update the playlist */
|
|
||||||
last_peek_offset -= ci.new_track;
|
|
||||||
|
|
||||||
/* If the track change was the result of an auto dir skip,
|
/* If the track change was the result of an auto dir skip,
|
||||||
we need to update the playlist now */
|
we need to update the playlist now */
|
||||||
next_playlist_index = playlist_next(ci.new_track);
|
next_playlist_index = playlist_next(ci.new_track);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue