Initial version of tagcache! There are still some bugs in the engine

and much more problems with the UI.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9256 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2006-03-26 11:33:42 +00:00
parent 50d40ea434
commit 7c4e0c8730
23 changed files with 2698 additions and 64 deletions

View file

@ -85,12 +85,12 @@
#define CODEC_MAGIC 0x52434F44 /* RCOD */
/* increase this every time the api struct changes */
#define CODEC_API_VERSION 5
#define CODEC_API_VERSION 6
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
new function which are "waiting" at the end of the function table) */
#define CODEC_MIN_API_VERSION 5
#define CODEC_MIN_API_VERSION 6
/* codec return codes */
enum codec_status {
@ -248,12 +248,6 @@ struct codec_api {
void (*audio_flush_and_reload_tracks)(void);
int (*audio_get_file_pos)(void);
/* tag database */
struct tagdb_header *tagdbheader;
int *tagdb_fd;
int *tagdb_initialized;
int (*tagdb_init) (void);
/* misc */
void (*srand)(unsigned int seed);
int (*rand)(void);