diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index fc3da61c57..38d0ee0fff 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -155,12 +155,12 @@ int plugin_open(char *plugin, char *parameter); | |||
155 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 155 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
156 | 156 | ||
157 | /* increase this every time the api struct changes */ | 157 | /* increase this every time the api struct changes */ |
158 | #define PLUGIN_API_VERSION 240 | 158 | #define PLUGIN_API_VERSION 241 |
159 | 159 | ||
160 | /* update this to latest version if a change to the api struct breaks | 160 | /* update this to latest version if a change to the api struct breaks |
161 | backwards compatibility (and please take the opportunity to sort in any | 161 | backwards compatibility (and please take the opportunity to sort in any |
162 | new function which are "waiting" at the end of the function table) */ | 162 | new function which are "waiting" at the end of the function table) */ |
163 | #define PLUGIN_MIN_API_VERSION 239 | 163 | #define PLUGIN_MIN_API_VERSION 241 |
164 | 164 | ||
165 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ | 165 | /* 239 Marks the removal of ARCHOS HWCODEC and CHARCELL */ |
166 | 166 | ||
@@ -669,9 +669,6 @@ struct plugin_api { | |||
669 | #if defined (HAVE_PITCHCONTROL) | 669 | #if defined (HAVE_PITCHCONTROL) |
670 | void (*sound_set_pitch)(int32_t pitch); | 670 | void (*sound_set_pitch)(int32_t pitch); |
671 | #endif | 671 | #endif |
672 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE) | ||
673 | bool (*mp3_is_playing)(void); | ||
674 | #endif /* PLATFORM_NATIVE */ | ||
675 | const unsigned long *audio_master_sampr_list; | 672 | const unsigned long *audio_master_sampr_list; |
676 | const unsigned long *hw_freq_sampr; | 673 | const unsigned long *hw_freq_sampr; |
677 | void (*pcm_apply_settings)(void); | 674 | void (*pcm_apply_settings)(void); |
@@ -765,6 +762,7 @@ struct plugin_api { | |||
765 | #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) | 762 | #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) |
766 | bool (*tagcache_fill_tags)(struct mp3entry *id3, const char *filename); | 763 | bool (*tagcache_fill_tags)(struct mp3entry *id3, const char *filename); |
767 | #endif | 764 | #endif |
765 | struct tagcache_stat* (*tagcache_get_stat)(void); | ||
768 | #endif /* HAVE_TAGCACHE */ | 766 | #endif /* HAVE_TAGCACHE */ |
769 | 767 | ||
770 | #ifdef HAVE_ALBUMART | 768 | #ifdef HAVE_ALBUMART |
@@ -920,6 +918,7 @@ struct plugin_api { | |||
920 | void (*led)(bool on); | 918 | void (*led)(bool on); |
921 | 919 | ||
922 | /*plugin*/ | 920 | /*plugin*/ |
921 | int (*plugin_open)(char *path, char *parameter); | ||
923 | void* (*plugin_get_buffer)(size_t *buffer_size); | 922 | void* (*plugin_get_buffer)(size_t *buffer_size); |
924 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); | 923 | void* (*plugin_get_audio_buffer)(size_t *buffer_size); |
925 | void (*plugin_release_audio_buffer)(void); | 924 | void (*plugin_release_audio_buffer)(void); |
@@ -929,14 +928,8 @@ struct plugin_api { | |||
929 | void (*audio_hard_stop)(void); | 928 | void (*audio_hard_stop)(void); |
930 | #endif | 929 | #endif |
931 | 930 | ||
932 | |||
933 | /* new stuff at the end, sort into place next time | 931 | /* new stuff at the end, sort into place next time |
934 | the API gets incompatible */ | 932 | the API gets incompatible */ |
935 | |||
936 | #ifdef HAVE_TAGCACHE | ||
937 | struct tagcache_stat* (*tagcache_get_stat)(void); | ||
938 | #endif | ||
939 | int (*plugin_open)(char *path, char *parameter); | ||
940 | 933 | ||
941 | }; | 934 | }; |
942 | 935 | ||