Fix FS#8201 and correct fix for FS#8040 by making the track unbuffer callback be...
commit8752cdddd7d6e9e9b4e69ad8483801ab164c5a8d
authornicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Thu, 22 Nov 2007 00:20:37 +0000 (22 00:20 +0000)
committernicolasp <nicolasp@a1c6a512-1295-4272-9138-f99709370657>
Thu, 22 Nov 2007 00:20:37 +0000 (22 00:20 +0000)
treedee6e6c3bbf2d61399d410c84d678fc9440a15d6
parentf1ee81bd27bd8202e7483232e807dd6896abaee1
Fix FS#8201 and correct fix for FS#8040 by making the track unbuffer callback be called from where it should be: clear_track_info, and writing track metadata back to the main buffer *before* the callback is called and the track erased. This simplifies audio_clear_track_entries.

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