From 3625be4803522e01420d06c8ab9b9e3e9e7b4978 Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Tue, 2 Dec 2008 21:07:12 +0000 Subject: 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 --- apps/buffering.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/buffering.c') diff --git a/apps/buffering.c b/apps/buffering.c index 534a82d7b9..ba613eb9db 100644 --- a/apps/buffering.c +++ b/apps/buffering.c @@ -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; } -- cgit v1.2.3