diff options
author | Dominik Wenger <domonoky@googlemail.com> | 2010-11-08 20:25:14 +0000 |
---|---|---|
committer | Dominik Wenger <domonoky@googlemail.com> | 2010-11-08 20:25:14 +0000 |
commit | 23cf4ad82fdfcc2002ec98ccc7588f9db7d0f523 (patch) | |
tree | e13349f9055446911b264adbb4026a10d548bebf /apps/codecs/libasap/asap.h | |
parent | c25887a2b92e914f62685bab66a27a8ac051d8a9 (diff) | |
download | rockbox-23cf4ad82fdfcc2002ec98ccc7588f9db7d0f523.tar.gz rockbox-23cf4ad82fdfcc2002ec98ccc7588f9db7d0f523.zip |
update the asap codec to version 2.1.2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28535 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libasap/asap.h')
-rw-r--r-- | apps/codecs/libasap/asap.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/apps/codecs/libasap/asap.h b/apps/codecs/libasap/asap.h index b43b3ce0c2..0758b60bfb 100644 --- a/apps/codecs/libasap/asap.h +++ b/apps/codecs/libasap/asap.h | |||
@@ -31,8 +31,8 @@ extern "C" { | |||
31 | /* ASAP version. */ | 31 | /* ASAP version. */ |
32 | #define ASAP_VERSION_MAJOR 2 | 32 | #define ASAP_VERSION_MAJOR 2 |
33 | #define ASAP_VERSION_MINOR 1 | 33 | #define ASAP_VERSION_MINOR 1 |
34 | #define ASAP_VERSION_MICRO 0 | 34 | #define ASAP_VERSION_MICRO 2 |
35 | #define ASAP_VERSION "2.1.0" | 35 | #define ASAP_VERSION "2.1.2" |
36 | 36 | ||
37 | /* Short credits of the ASAP engine. */ | 37 | /* Short credits of the ASAP engine. */ |
38 | #define ASAP_YEARS "2005-2010" | 38 | #define ASAP_YEARS "2005-2010" |
@@ -98,6 +98,7 @@ typedef struct { | |||
98 | int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ | 98 | int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ |
99 | abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ | 99 | abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ |
100 | /* the following technical information should not be used outside ASAP. */ | 100 | /* the following technical information should not be used outside ASAP. */ |
101 | abool ntsc; | ||
101 | int type; | 102 | int type; |
102 | int fastplay; | 103 | int fastplay; |
103 | int music; | 104 | int music; |
@@ -216,6 +217,9 @@ abool ASAP_ChangeExt(char *filename, const char *ext); | |||
216 | abool ASAP_GetModuleInfo(ASAP_ModuleInfo *module_info, const char *filename, | 217 | abool ASAP_GetModuleInfo(ASAP_ModuleInfo *module_info, const char *filename, |
217 | const byte module[], int module_len); | 218 | const byte module[], int module_len); |
218 | 219 | ||
220 | /* Extracts year from date. */ | ||
221 | abool ASAP_DateToYear(const char *date, char *year); | ||
222 | |||
219 | /* Loads music data. | 223 | /* Loads music data. |
220 | "ast" is the destination structure. | 224 | "ast" is the destination structure. |
221 | "filename" determines file format. | 225 | "filename" determines file format. |