diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-05-28 23:18:31 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-05-28 23:18:31 +0000 |
commit | 6579818b4346a9b455734fb5a067e8d3ab2f09b4 (patch) | |
tree | dc234157ee00e026a7110502c5c8379c88721166 /apps/cuesheet.h | |
parent | 1bae792e5c2ef6f624c7038ce83cd48aeabf636f (diff) | |
download | rockbox-6579818b4346a9b455734fb5a067e8d3ab2f09b4.tar.gz rockbox-6579818b4346a9b455734fb5a067e8d3ab2f09b4.zip |
Add the possibility to store cuesheets in /.rockbox/cue. The code will look for a cuesheet there in case there wasn't one in the same folder as the audio file. This is to reduce the clutter created by one cuesheet per audio file in some places.
Also some duplicate code was replaced by a function call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13508 a1c6a512-1295-4272-9138-f99709370657
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 51e38605ca..3fe9c1f453 100644 --- a/apps/cuesheet.h +++ b/apps/cuesheet.h | |||
@@ -58,7 +58,7 @@ bool cuesheet_is_enabled(void); | |||
58 | void cuesheet_init(void); | 58 | void cuesheet_init(void); |
59 | 59 | ||
60 | /* looks if there is a cuesheet file that has a name matching "trackpath" */ | 60 | /* looks if there is a cuesheet file that has a name matching "trackpath" */ |
61 | bool look_for_cuesheet_file(const char *trackpath); | 61 | bool look_for_cuesheet_file(const char *trackpath, char *found_cue_path); |
62 | 62 | ||
63 | /* parse cuesheet "file" and store the information in "cue" */ | 63 | /* parse cuesheet "file" and store the information in "cue" */ |
64 | bool parse_cuesheet(char *file, struct cuesheet *cue); | 64 | bool parse_cuesheet(char *file, struct cuesheet *cue); |