From eb0061411d6fa08ab540107cdbd2906e18e516d7 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 24 Jul 2009 01:13:30 +0000 Subject: 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 --- apps/gui/gwps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/gui/gwps.c') 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) { if (wps_state.id3->cuesheet) { - curr_cuesheet_skip(-1, wps_state.id3->elapsed); + curr_cuesheet_skip(wps_state.id3->cuesheet, -1, wps_state.id3->elapsed); return; } @@ -176,7 +176,7 @@ static void next_track(void) /* take care of if we're playing a cuesheet */ if (wps_state.id3->cuesheet) { - if (curr_cuesheet_skip(1, wps_state.id3->elapsed)) + if (curr_cuesheet_skip(wps_state.id3->cuesheet, 1, wps_state.id3->elapsed)) { /* if the result was false, then we really want to skip to the next track */ -- cgit v1.2.3