diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-24 01:13:30 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-07-24 01:13:30 +0000 |
commit | eb0061411d6fa08ab540107cdbd2906e18e516d7 (patch) | |
tree | bf605b7bb1ecf9717b5e1a1b1fc1ae157ba04db4 /apps/gui/gwps.c | |
parent | bd9156a4ada3eb036192f9f82421f38c107f25c9 (diff) | |
download | rockbox-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/gui/gwps.c')
-rw-r--r-- | apps/gui/gwps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c index 154864a280..10c2a6806b 100644 --- a/apps/gui/gwps.c +++ b/apps/gui/gwps.c | |||
@@ -151,7 +151,7 @@ static void prev_track(unsigned long skip_thresh) | |||
151 | { | 151 | { |
152 | if (wps_state.id3->cuesheet) | 152 | if (wps_state.id3->cuesheet) |
153 | { | 153 | { |
154 | curr_cuesheet_skip(-1, wps_state.id3->elapsed); | 154 | curr_cuesheet_skip(wps_state.id3->cuesheet, -1, wps_state.id3->elapsed); |
155 | return; | 155 | return; |
156 | } | 156 | } |
157 | 157 | ||
@@ -176,7 +176,7 @@ static void next_track(void) | |||
176 | /* take care of if we're playing a cuesheet */ | 176 | /* take care of if we're playing a cuesheet */ |
177 | if (wps_state.id3->cuesheet) | 177 | if (wps_state.id3->cuesheet) |
178 | { | 178 | { |
179 | if (curr_cuesheet_skip(1, wps_state.id3->elapsed)) | 179 | if (curr_cuesheet_skip(wps_state.id3->cuesheet, 1, wps_state.id3->elapsed)) |
180 | { | 180 | { |
181 | /* if the result was false, then we really want | 181 | /* if the result was false, then we really want |
182 | to skip to the next track */ | 182 | to skip to the next track */ |