summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2009-03-06 01:08:02 +0000
committerAndrew Mahone <andrew.mahone@gmail.com>2009-03-06 01:08:02 +0000
commit6f030a01c97063b4ec0e1c30a62016cbfd8eea05 (patch)
tree338971bd842dffbd886870d1dccb3751f410f0b1 /apps/plugin.h
parentcc5689c153fd24fa10bfce2019967a3e6c068c83 (diff)
downloadrockbox-6f030a01c97063b4ec0e1c30a62016cbfd8eea05.tar.gz
rockbox-6f030a01c97063b4ec0e1c30a62016cbfd8eea05.zip
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
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);
127#define PLUGIN_MAGIC 0x526F634B /* RocK */ 127#define PLUGIN_MAGIC 0x526F634B /* RocK */
128 128
129/* increase this every time the api struct changes */ 129/* increase this every time the api struct changes */
130#define PLUGIN_API_VERSION 143 130#define PLUGIN_API_VERSION 144
131 131
132/* update this to latest version if a change to the api struct breaks 132/* update this to latest version if a change to the api struct breaks
133 backwards compatibility (and please take the opportunity to sort in any 133 backwards compatibility (and please take the opportunity to sort in any
134 new function which are "waiting" at the end of the function table) */ 134 new function which are "waiting" at the end of the function table) */
135#define PLUGIN_MIN_API_VERSION 143 135#define PLUGIN_MIN_API_VERSION 144
136 136
137/* plugin return codes */ 137/* plugin return codes */
138enum plugin_status { 138enum plugin_status {
@@ -698,8 +698,8 @@ struct plugin_api {
698 unsigned int *audio_thread_id); 698 unsigned int *audio_thread_id);
699 int (*codec_load_file)(const char* codec, struct codec_api *api); 699 int (*codec_load_file)(const char* codec, struct codec_api *api);
700 const char *(*get_codec_filename)(int cod_spec); 700 const char *(*get_codec_filename)(int cod_spec);
701 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname);
702#endif 701#endif
702 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname);
703 bool (*mp3info)(struct mp3entry *entry, const char *filename); 703 bool (*mp3info)(struct mp3entry *entry, const char *filename);
704 int (*count_mp3_frames)(int fd, int startpos, int filesize, 704 int (*count_mp3_frames)(int fd, int startpos, int filesize,
705 void (*progressfunc)(int)); 705 void (*progressfunc)(int));