summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index b0f4e051c5..edad8c4e9b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -144,12 +144,12 @@ void* plugin_get_buffer(size_t *buffer_size);
144#define PLUGIN_MAGIC 0x526F634B /* RocK */ 144#define PLUGIN_MAGIC 0x526F634B /* RocK */
145 145
146/* increase this every time the api struct changes */ 146/* increase this every time the api struct changes */
147#define PLUGIN_API_VERSION 187 147#define PLUGIN_API_VERSION 188
148 148
149/* update this to latest version if a change to the api struct breaks 149/* update this to latest version if a change to the api struct breaks
150 backwards compatibility (and please take the opportunity to sort in any 150 backwards compatibility (and please take the opportunity to sort in any
151 new function which are "waiting" at the end of the function table) */ 151 new function which are "waiting" at the end of the function table) */
152#define PLUGIN_MIN_API_VERSION 187 152#define PLUGIN_MIN_API_VERSION 188
153 153
154/* plugin return codes */ 154/* plugin return codes */
155enum plugin_status { 155enum plugin_status {
@@ -782,12 +782,10 @@ struct plugin_api {
782 const char *(*get_codec_filename)(int cod_spec); 782 const char *(*get_codec_filename)(int cod_spec);
783 void ** (*find_array_ptr)(void **arr, void *ptr); 783 void ** (*find_array_ptr)(void **arr, void *ptr);
784 int (*remove_array_ptr)(void **arr, void *ptr); 784 int (*remove_array_ptr)(void **arr, void *ptr);
785#if defined(HAVE_RECORDING) && (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) 785 int (*round_value_to_list32)(unsigned long value,
786int (*round_value_to_list32)(unsigned long value, 786 const unsigned long list[],
787 const unsigned long list[], 787 int count,
788 int count, 788 bool signd);
789 bool signd);
790#endif
791#endif /* CONFIG_CODEC == SWCODEC */ 789#endif /* CONFIG_CODEC == SWCODEC */
792 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname); 790 bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname);
793 bool (*mp3info)(struct mp3entry *entry, const char *filename); 791 bool (*mp3info)(struct mp3entry *entry, const char *filename);