forked from len0rd/rockbox
unplayed_space_left was calculated too early in DEI3()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1613 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
079b2d1865
commit
a46a5d3ed9
1 changed files with 3 additions and 1 deletions
|
@ -503,7 +503,7 @@ void DEI3(void)
|
|||
{
|
||||
if(playing)
|
||||
{
|
||||
int unplayed_space_left = get_unplayed_space();
|
||||
int unplayed_space_left;
|
||||
int space_until_end_of_buffer;
|
||||
int track_offset = (tag_read_idx+1) & MAX_ID3_TAGS_MASK;
|
||||
|
||||
|
@ -521,6 +521,8 @@ void DEI3(void)
|
|||
}
|
||||
}
|
||||
|
||||
unplayed_space_left = get_unplayed_space();
|
||||
|
||||
space_until_end_of_buffer = mp3buflen - mp3buf_read;
|
||||
|
||||
if(!filling && unplayed_space_left < MPEG_LOW_WATER)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue