summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2006-03-26 11:33:42 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2006-03-26 11:33:42 +0000
commit7c4e0c8730d5b076d4db4206361bc38d5256a23f (patch)
tree43382ae25de9bfa0bbabdff7d51c32b651ad47b5 /apps/codecs.h
parent50d40ea43409745bc828e56af5e3879ea6b48cf1 (diff)
downloadrockbox-7c4e0c8730d5b076d4db4206361bc38d5256a23f.tar.gz
rockbox-7c4e0c8730d5b076d4db4206361bc38d5256a23f.zip
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
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index d28afc7292..50ab4cda0e 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -85,12 +85,12 @@
85#define CODEC_MAGIC 0x52434F44 /* RCOD */ 85#define CODEC_MAGIC 0x52434F44 /* RCOD */
86 86
87/* increase this every time the api struct changes */ 87/* increase this every time the api struct changes */
88#define CODEC_API_VERSION 5 88#define CODEC_API_VERSION 6
89 89
90/* update this to latest version if a change to the api struct breaks 90/* update this to latest version if a change to the api struct breaks
91 backwards compatibility (and please take the opportunity to sort in any 91 backwards compatibility (and please take the opportunity to sort in any
92 new function which are "waiting" at the end of the function table) */ 92 new function which are "waiting" at the end of the function table) */
93#define CODEC_MIN_API_VERSION 5 93#define CODEC_MIN_API_VERSION 6
94 94
95/* codec return codes */ 95/* codec return codes */
96enum codec_status { 96enum codec_status {
@@ -248,12 +248,6 @@ struct codec_api {
248 void (*audio_flush_and_reload_tracks)(void); 248 void (*audio_flush_and_reload_tracks)(void);
249 int (*audio_get_file_pos)(void); 249 int (*audio_get_file_pos)(void);
250 250
251 /* tag database */
252 struct tagdb_header *tagdbheader;
253 int *tagdb_fd;
254 int *tagdb_initialized;
255 int (*tagdb_init) (void);
256
257 /* misc */ 251 /* misc */
258 void (*srand)(unsigned int seed); 252 void (*srand)(unsigned int seed);
259 int (*rand)(void); 253 int (*rand)(void);