From 23cf4ad82fdfcc2002ec98ccc7588f9db7d0f523 Mon Sep 17 00:00:00 2001 From: Dominik Wenger Date: Mon, 8 Nov 2010 20:25:14 +0000 Subject: update the asap codec to version 2.1.2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28535 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libasap/asap.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/codecs/libasap/asap.h') 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" { /* ASAP version. */ #define ASAP_VERSION_MAJOR 2 #define ASAP_VERSION_MINOR 1 -#define ASAP_VERSION_MICRO 0 -#define ASAP_VERSION "2.1.0" +#define ASAP_VERSION_MICRO 2 +#define ASAP_VERSION "2.1.2" /* Short credits of the ASAP engine. */ #define ASAP_YEARS "2005-2010" @@ -98,6 +98,7 @@ typedef struct { int durations[ASAP_SONGS_MAX]; /* lengths of songs, in milliseconds, -1 = indeterminate */ abool loops[ASAP_SONGS_MAX]; /* whether songs repeat or not */ /* the following technical information should not be used outside ASAP. */ + abool ntsc; int type; int fastplay; int music; @@ -216,6 +217,9 @@ abool ASAP_ChangeExt(char *filename, const char *ext); abool ASAP_GetModuleInfo(ASAP_ModuleInfo *module_info, const char *filename, const byte module[], int module_len); +/* Extracts year from date. */ +abool ASAP_DateToYear(const char *date, char *year); + /* Loads music data. "ast" is the destination structure. "filename" determines file format. -- cgit v1.2.3