summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
authorNicolas Pennequin <nicolas.pennequin@free.fr>2008-04-14 15:51:40 +0000
committerNicolas Pennequin <nicolas.pennequin@free.fr>2008-04-14 15:51:40 +0000
commita5ad74ffcaf8fc4d29fbc4457239d822c0215cde (patch)
tree79ff0d4479b6e6451893047008f45b5db9ec96a7 /apps/playback.c
parent3c9625969bd6dc235ac5fc8a1678ce7d89a9203c (diff)
Revert what was left of r17018 until I find a better way. It had quirks in some cases, and doesn't play well with what I'm about to commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17108 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 6f18b57cd2..ef2d653e85 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -585,7 +585,6 @@ struct mp3entry* audio_current_track(void)
strncpy(temp_id3.path, p, sizeof(temp_id3.path)-1);
temp_id3.title = &temp_id3.path[0];
- temp_id3.index = playlist_get_display_index() - 1 + wps_offset;
return &temp_id3;
}
@@ -1628,8 +1627,6 @@ static bool audio_load_track(int offset, bool start_play)
{
if (get_metadata(&id3, fd, trackname))
{
- id3.index = playlist_get_display_index() + last_peek_offset - 1;
-
send_event(PLAYBACK_EVENT_TRACK_BUFFER, &id3);
tracks[track_widx].id3_hid =