From 6f030a01c97063b4ec0e1c30a62016cbfd8eea05 Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Fri, 6 Mar 2009 01:08:02 +0000 Subject: add the needed plugin API exports for pictureflow to hwcodec, use the audio buffer if plugin buffer is too small, build on any target with bitmap + tagcache git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20213 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 1c8682f43b..fd3e276dcd 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -127,12 +127,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 143 +#define PLUGIN_API_VERSION 144 /* 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 PLUGIN_MIN_API_VERSION 143 +#define PLUGIN_MIN_API_VERSION 144 /* plugin return codes */ enum plugin_status { @@ -698,8 +698,8 @@ struct plugin_api { unsigned int *audio_thread_id); int (*codec_load_file)(const char* codec, struct codec_api *api); const char *(*get_codec_filename)(int cod_spec); - bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname); #endif + bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname); bool (*mp3info)(struct mp3entry *entry, const char *filename); int (*count_mp3_frames)(int fd, int startpos, int filesize, void (*progressfunc)(int)); -- cgit v1.2.3