Notify the buffering thread when a handle is added, so it can go into filling mode...
commit6f7c8960d1afa3755ba1662ddfb9008a5543a04c
authornicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Tue, 12 Feb 2008 23:15:59 +0000 (12 23:15 +0000)
committernicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Tue, 12 Feb 2008 23:15:59 +0000 (12 23:15 +0000)
treef7fdfdfa6e31d3e4c35248885d1f317aa99018b8
parent55ab4a4499476820eb426d2f222a3da15164c4e8
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