diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2013-07-17 08:06:06 -0400 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2014-03-10 04:13:53 +0100 |
commit | 5ee13ebd39c7c39c4086a2657b1aa170c10af1aa (patch) | |
tree | 01c082f1c551241d9087df905b202d3496f070dc /apps/cuesheet.h | |
parent | 31b712286721dd606940c7b557d03e3f714b9604 (diff) |
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 <jethead71@rockbox.org>
Tested: Michael Sevakis <jethead71@rockbox.org>
Diffstat (limited to 'apps/cuesheet.h')
-rw-r--r-- | apps/cuesheet.h | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |