mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Fix FS#9319 and its (probably) duplicate, FS#9576. They both describe the boost remaining active after a change of the dynamic playlist, an issue added in r17109.
The fix is to notify the buffering thread whenever an ID3 handle is created via bufopen (as is done in the other cases of bufopen). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19304 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d9116da5de
commit
3625be4803
1 changed files with 5 additions and 0 deletions
|
|
@ -907,6 +907,11 @@ int bufopen(const char *file, size_t offset, enum data_type type)
|
|||
|
||||
buf_widx += sizeof(struct mp3entry); /* safe because the handle
|
||||
can't wrap */
|
||||
|
||||
/* Inform the buffering thread that we added a handle */
|
||||
LOGFQUEUE("buffering > Q_HANDLE_ADDED %d", h->id);
|
||||
queue_post(&buffering_queue, Q_HANDLE_ADDED, h->id);
|
||||
|
||||
return h->id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue