diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 1ed1c041d1..8b8481b6ac 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -160,12 +160,12 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
160 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 160 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
161 | 161 | ||
162 | /* increase this every time the api struct changes */ | 162 | /* increase this every time the api struct changes */ |
163 | #define PLUGIN_API_VERSION 230 | 163 | #define PLUGIN_API_VERSION 231 |
164 | 164 | ||
165 | /* update this to latest version if a change to the api struct breaks | 165 | /* update this to latest version if a change to the api struct breaks |
166 | backwards compatibility (and please take the opportunity to sort in any | 166 | backwards compatibility (and please take the opportunity to sort in any |
167 | new function which are "waiting" at the end of the function table) */ | 167 | new function which are "waiting" at the end of the function table) */ |
168 | #define PLUGIN_MIN_API_VERSION 230 | 168 | #define PLUGIN_MIN_API_VERSION 231 |
169 | 169 | ||
170 | /* plugin return codes */ | 170 | /* plugin return codes */ |
171 | /* internal returns start at 0x100 to make exit(1..255) work */ | 171 | /* internal returns start at 0x100 to make exit(1..255) work */ |
@@ -843,6 +843,7 @@ struct plugin_api { | |||
843 | #endif | 843 | #endif |
844 | void* (*plugin_get_buffer)(size_t *buffer_size); | 844 | void* (*plugin_get_buffer)(size_t *buffer_size); |
845 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); | 845 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); |
846 | void (*plugin_release_audio_buffer)(void); | ||
846 | void (*plugin_tsr)(bool (*exit_callback)(bool reenter)); | 847 | void (*plugin_tsr)(bool (*exit_callback)(bool reenter)); |
847 | char* (*plugin_get_current_filename)(void); | 848 | char* (*plugin_get_current_filename)(void); |
848 | #if defined(DEBUG) || defined(SIMULATOR) | 849 | #if defined(DEBUG) || defined(SIMULATOR) |
@@ -976,7 +977,6 @@ struct plugin_api { | |||
976 | 977 | ||
977 | /* new stuff at the end, sort into place next time | 978 | /* new stuff at the end, sort into place next time |
978 | the API gets incompatible */ | 979 | the API gets incompatible */ |
979 | void (*plugin_release_audio_buffer)(void); | ||
980 | }; | 980 | }; |
981 | 981 | ||
982 | /* plugin header */ | 982 | /* plugin header */ |