mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-18 04:27:38 -04:00
Skipping to the previous track from the last buffered track caused playback to stop after the last buffered track if it didn't originally fit completely in the file buffer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7559 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4b711c2f72
commit
c694954f73
1 changed files with 1 additions and 1 deletions
|
@ -1401,7 +1401,7 @@ void audio_update_trackinfo(void)
|
||||||
} else {
|
} else {
|
||||||
buf_ridx -= ci.curpos + cur_ti->codecsize;
|
buf_ridx -= ci.curpos + cur_ti->codecsize;
|
||||||
filebufused += ci.curpos + cur_ti->codecsize;
|
filebufused += ci.curpos + cur_ti->codecsize;
|
||||||
cur_ti->available = cur_ti->filesize;
|
cur_ti->available = cur_ti->filesize - cur_ti->filerem;
|
||||||
|
|
||||||
cur_ti = &tracks[track_ridx];
|
cur_ti = &tracks[track_ridx];
|
||||||
buf_ridx -= cur_ti->filesize;
|
buf_ridx -= cur_ti->filesize;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue