diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 4537c6670b..cdf34e28b1 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -145,12 +145,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 145 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
146 | 146 | ||
147 | /* increase this every time the api struct changes */ | 147 | /* increase this every time the api struct changes */ |
148 | #define PLUGIN_API_VERSION 203 | 148 | #define PLUGIN_API_VERSION 204 |
149 | 149 | ||
150 | /* update this to latest version if a change to the api struct breaks | 150 | /* update this to latest version if a change to the api struct breaks |
151 | backwards compatibility (and please take the opportunity to sort in any | 151 | backwards compatibility (and please take the opportunity to sort in any |
152 | new function which are "waiting" at the end of the function table) */ | 152 | new function which are "waiting" at the end of the function table) */ |
153 | #define PLUGIN_MIN_API_VERSION 203 | 153 | #define PLUGIN_MIN_API_VERSION 204 |
154 | 154 | ||
155 | /* plugin return codes */ | 155 | /* plugin return codes */ |
156 | /* internal returns start at 0x100 to make exit(1..255) work */ | 156 | /* internal returns start at 0x100 to make exit(1..255) work */ |
@@ -799,9 +799,9 @@ struct plugin_api { | |||
799 | #if CONFIG_CODEC == SWCODEC | 799 | #if CONFIG_CODEC == SWCODEC |
800 | void (*codec_thread_do_callback)(void (*fn)(void), | 800 | void (*codec_thread_do_callback)(void (*fn)(void), |
801 | unsigned int *audio_thread_id); | 801 | unsigned int *audio_thread_id); |
802 | void * (*codec_load_file)(const char* codec, struct codec_api *api); | 802 | int (*codec_load_file)(const char* codec, struct codec_api *api); |
803 | int (*codec_begin)(void *handle); | 803 | int (*codec_run_proc)(void); |
804 | void (*codec_close)(void *handle); | 804 | int (*codec_close)(void); |
805 | const char *(*get_codec_filename)(int cod_spec); | 805 | const char *(*get_codec_filename)(int cod_spec); |
806 | void ** (*find_array_ptr)(void **arr, void *ptr); | 806 | void ** (*find_array_ptr)(void **arr, void *ptr); |
807 | int (*remove_array_ptr)(void **arr, void *ptr); | 807 | int (*remove_array_ptr)(void **arr, void *ptr); |