From 5ee13ebd39c7c39c4086a2657b1aa170c10af1aa Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 17 Jul 2013 08:06:06 -0400 Subject: Implements starting playback from a cuesheet. Before time-based resume this was impossible since playback could not be started at a specified elapsed time, only seeked with playback already running. Right now the "FILE" field is used, if present, to do the lookup from from the .cue to the audio file when it is separate from the audio file. If no path is specified, the .cue and audio file must be in the same directory. When the cuesheet is embedded, the containing file is used and the FILE field is ignored. Supports starting playback and seeking to cue points from the cuesheet browser even without Cuesheet Support turned on. Change-Id: Ib5b534c406f179a7f8c7042a31572b24a62c0731 Reviewed-on: http://gerrit.rockbox.org/522 Reviewed-by: Michael Sevakis Tested: Michael Sevakis --- apps/cuesheet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/cuesheet.h') diff --git a/apps/cuesheet.h b/apps/cuesheet.h index 31841dacf6..0b9503a9bb 100644 --- a/apps/cuesheet.h +++ b/apps/cuesheet.h @@ -39,7 +39,7 @@ struct cue_track_info { struct cuesheet { char path[MAX_PATH]; - + char file[MAX_PATH]; char title[MAX_NAME*3+1]; char performer[MAX_NAME*3+1]; char songwriter[MAX_NAME*3+1]; -- cgit v1.2.3