summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.c1
-rw-r--r--apps/plugin.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 79c3b39315..e9c538fd78 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -177,7 +177,6 @@ static struct plugin_api rockbox_api = {
177 plugin_get_mp3_buffer, 177 plugin_get_mp3_buffer,
178 mpeg_sound_set, 178 mpeg_sound_set,
179#ifndef SIMULATOR 179#ifndef SIMULATOR
180 mp3_play_init,
181 mp3_play_data, 180 mp3_play_data,
182 mp3_play_pause, 181 mp3_play_pause,
183 mp3_play_stop, 182 mp3_play_stop,
diff --git a/apps/plugin.h b/apps/plugin.h
index 0e3451f698..5b3193c42b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -65,7 +65,7 @@
65/* update this to latest version if a change to the api struct breaks 65/* update this to latest version if a change to the api struct breaks
66 backwards compatibility (and please take the opportunity to sort in any 66 backwards compatibility (and please take the opportunity to sort in any
67 new function which are "waiting" at the end of the function table) */ 67 new function which are "waiting" at the end of the function table) */
68#define PLUGIN_MIN_API_VERSION 10 68#define PLUGIN_MIN_API_VERSION 18
69 69
70/* plugin return codes */ 70/* plugin return codes */
71enum plugin_status { 71enum plugin_status {
@@ -206,7 +206,6 @@ struct plugin_api {
206 void* (*plugin_get_mp3_buffer)(int* buffer_size); 206 void* (*plugin_get_mp3_buffer)(int* buffer_size);
207 void (*mpeg_sound_set)(int setting, int value); 207 void (*mpeg_sound_set)(int setting, int value);
208#ifndef SIMULATOR 208#ifndef SIMULATOR
209 void (*mp3_play_init)(void); /* FIXME: remove this next time we break compatibility */
210 void (*mp3_play_data)(unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size)); 209 void (*mp3_play_data)(unsigned char* start, int size, void (*get_more)(unsigned char** start, int* size));
211 void (*mp3_play_pause)(bool play); 210 void (*mp3_play_pause)(bool play);
212 void (*mp3_play_stop)(void); 211 void (*mp3_play_stop)(void);