summaryrefslogtreecommitdiff
path: root/apps/cuesheet.h
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-07-24 01:13:30 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-07-24 01:13:30 +0000
commiteb0061411d6fa08ab540107cdbd2906e18e516d7 (patch)
treebf605b7bb1ecf9717b5e1a1b1fc1ae157ba04db4 /apps/cuesheet.h
parentbd9156a4ada3eb036192f9f82421f38c107f25c9 (diff)
downloadrockbox-eb0061411d6fa08ab540107cdbd2906e18e516d7.tar.gz
rockbox-eb0061411d6fa08ab540107cdbd2906e18e516d7.zip
more cuesheet cleanup. pass the cuesheet into cue functions so they dont have to call audio_current_track()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22020 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/cuesheet.h')
-rw-r--r--apps/cuesheet.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/cuesheet.h b/apps/cuesheet.h
index 8ee0f6b3a7..c5d736573b 100644
--- a/apps/cuesheet.h
+++ b/apps/cuesheet.h
@@ -73,11 +73,12 @@ int cue_find_current_track(struct cuesheet *cue, unsigned long curpos);
73void cue_spoof_id3(struct cuesheet *cue, struct mp3entry *id3); 73void cue_spoof_id3(struct cuesheet *cue, struct mp3entry *id3);
74 74
75/* skip to next track in the cuesheet towards "direction" (which is 1 or -1) */ 75/* skip to next track in the cuesheet towards "direction" (which is 1 or -1) */
76bool curr_cuesheet_skip(int direction, unsigned long curr_pos); 76bool curr_cuesheet_skip(struct cuesheet *cue, int direction, unsigned long curr_pos);
77 77
78#ifdef HAVE_LCD_BITMAP 78#ifdef HAVE_LCD_BITMAP
79/* draw track markers on the progressbar */ 79/* draw track markers on the progressbar */
80void cue_draw_markers(struct screen *screen, unsigned long tracklen, 80void cue_draw_markers(struct screen *screen, struct cuesheet *cue,
81 unsigned long tracklen,
81 int x1, int x2, int y, int h); 82 int x1, int x2, int y, int h);
82#endif 83#endif
83 84