forked from len0rd/rockbox
iRiver: Removed a playlist_update_resume_info call which was called a way too
often reducing performance and increasing disk head moving. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8083 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
887e3a1f67
commit
71489347c1
1 changed files with 3 additions and 2 deletions
|
|
@ -1333,6 +1333,9 @@ void initialize_buffer_fill(void)
|
|||
if (filling)
|
||||
return ;
|
||||
|
||||
/* Save the current resume position once. */
|
||||
playlist_update_resume_info(audio_current_track());
|
||||
|
||||
fill_bytesleft = filebuflen - filebufused;
|
||||
cur_ti->start_pos = ci.curpos;
|
||||
|
||||
|
|
@ -1793,8 +1796,6 @@ void audio_thread(void)
|
|||
break ;
|
||||
#endif
|
||||
case SYS_TIMEOUT:
|
||||
if (playing)
|
||||
playlist_update_resume_info(audio_current_track());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue