This seems to fix a few bugs in that
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9811 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
da1cddfcbb
commit
69cf4f57ac
1 changed files with 6 additions and 0 deletions
|
@ -940,7 +940,10 @@ static void audio_check_new_track(void)
|
|||
playlist_next(ci.new_track);
|
||||
|
||||
if (new_playlist)
|
||||
{
|
||||
ci.new_track = 1;
|
||||
new_playlist = false;
|
||||
}
|
||||
|
||||
track_ridx+=ci.new_track;
|
||||
if (track_ridx >= MAX_TRACK)
|
||||
|
@ -2095,6 +2098,9 @@ static void audio_new_playlist(void)
|
|||
close(current_fd);
|
||||
current_fd = -1;
|
||||
|
||||
/* Mark the current track as invalid to prevent skipping back to it */
|
||||
cur_ti->taginfo_ready = false;
|
||||
|
||||
/* Invalidate the buffer other than the playing track */
|
||||
filebufused = cur_ti->available;
|
||||
buf_widx = buf_ridx + cur_ti->available;
|
||||
|
|
Loading…
Reference in a new issue