mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
PictureFlow: Don't sync playlist after every file
Since we manually do it later, syncing after every file is unnecessary and can make the audio queue overflow Change-Id: Ia7ab6ee345b25a453c56f48ed0d330b04da6da94
This commit is contained in:
parent
ea738e03d0
commit
131497d786
1 changed files with 2 additions and 2 deletions
|
|
@ -3679,14 +3679,14 @@ static bool playlist_insert(int position, bool queue, bool create_new)
|
|||
|
||||
if (!insert_whole_album)
|
||||
rb->playlist_insert_track(NULL, get_track_filename(pf_tracks.sel),
|
||||
position, queue, true);
|
||||
position, queue, false);
|
||||
else
|
||||
{
|
||||
int i = 0;
|
||||
do {
|
||||
rb->yield();
|
||||
if (rb->playlist_insert_track(NULL, get_track_filename(i),
|
||||
position, queue, true) < 0)
|
||||
position, queue, false) < 0)
|
||||
break;
|
||||
if (position == PLAYLIST_INSERT_FIRST)
|
||||
position = PLAYLIST_INSERT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue