Remove unnecessary copying of current track id3 data back into the buffer. It was used before when track_unbuffer_callback existed, but now PLAYBACK_EVENT_TRACK_FINISH takes care of this.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20638 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Boris Gjenero 2009-04-07 05:32:38 +00:00
parent de391e7abf
commit 265d855031

View file

@ -2043,16 +2043,6 @@ static int audio_check_new_track(void)
new_playlist = false;
}
/* FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME
* 1) why are we doing this?
* 2) thistrack_id3 has already been cleared anyway */
/* Update the main buffer copy of the track metadata with the one
the codec has been using (for the unbuffer callbacks) */
if (CUR_TI->id3_hid >= 0)
copy_mp3entry(bufgetid3(CUR_TI->id3_hid), thistrack_id3);
/* FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME */
/* Save a pointer to the old track to allow later clearing */
prev_ti = CUR_TI;