Close partially buffered handles when changing tracks
commit1063426f5a7144784d560dc9c3c0714657fa11fb
authorNicolas Pennequin <nicolas@nicolas-laptop.(none)>
Mon, 22 Oct 2007 08:05:20 +0000 (22 10:05 +0200)
committerlearman <learman@a1c6a512-1295-4272-9138-f99709370657>
Thu, 25 Oct 2007 19:18:20 +0000 (25 19:18 +0000)
treeeaa867c05caf6ca331cadf60c0ab2f7fdc544897
parent9411f2a7279e6c24311bd0c100d494d1cf3b6037
Close partially buffered handles when changing tracks

Skipping back to a partially buffered handle requires spinning the disk
and then causes problems because there is no simple way to notice we're
running out of data. The best solution is to close it and it the user
skips back to that track, a normal rebuffer will occur.
apps/buffering.c
apps/buffering.h
apps/playback.c