Notify the buffering thread when a handle is added, so it can go into filling mode...
commit483c40285bbad64835122da3967f74a8ca061a4a
authorNicolas Pennequin <nicolas.pennequin@free.fr>
Tue, 12 Feb 2008 23:15:59 +0000 (12 23:15 +0000)
committerNicolas Pennequin <nicolas.pennequin@free.fr>
Tue, 12 Feb 2008 23:15:59 +0000 (12 23:15 +0000)
treef7fdfdfa6e31d3e4c35248885d1f317aa99018b8
parent8820c0114b4ae30dc5ec8df90b0b1f10b720126e
Notify the buffering thread when a handle is added, so it can go into filling mode. This is some sort of a replacement for the ATA idle callback. It will interrupt an ongoing buffering process (buffer_handle), but not for long enough to be a problem.
Should fix a problem reported by Dave Hooper where inserting tracks into the playlist would flush the buffer and not refill it, sometimes causing the inserted tracks to be skipped.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16295 a1c6a512-1295-4272-9138-f99709370657
apps/buffering.c