summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 588a01262e..4091cecc16 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -154,12 +154,12 @@ void* plugin_get_buffer(size_t *buffer_size);
154#define PLUGIN_MAGIC 0x526F634B /* RocK */ 154#define PLUGIN_MAGIC 0x526F634B /* RocK */
155 155
156/* increase this every time the api struct changes */ 156/* increase this every time the api struct changes */
157#define PLUGIN_API_VERSION 219 157#define PLUGIN_API_VERSION 220
158 158
159/* update this to latest version if a change to the api struct breaks 159/* update this to latest version if a change to the api struct breaks
160 backwards compatibility (and please take the opportunity to sort in any 160 backwards compatibility (and please take the opportunity to sort in any
161 new function which are "waiting" at the end of the function table) */ 161 new function which are "waiting" at the end of the function table) */
162#define PLUGIN_MIN_API_VERSION 219 162#define PLUGIN_MIN_API_VERSION 220
163 163
164/* plugin return codes */ 164/* plugin return codes */
165/* internal returns start at 0x100 to make exit(1..255) work */ 165/* internal returns start at 0x100 to make exit(1..255) work */
@@ -697,7 +697,7 @@ struct plugin_api {
697 const void * (*mixer_channel_get_buffer)(enum pcm_mixer_channel channel, 697 const void * (*mixer_channel_get_buffer)(enum pcm_mixer_channel channel,
698 int *count); 698 int *count);
699 void (*mixer_channel_calculate_peaks)(enum pcm_mixer_channel channel, 699 void (*mixer_channel_calculate_peaks)(enum pcm_mixer_channel channel,
700 int *left, int *right); 700 struct pcm_peaks *peaks);
701 void (*mixer_channel_play_data)(enum pcm_mixer_channel channel, 701 void (*mixer_channel_play_data)(enum pcm_mixer_channel channel,
702 pcm_play_callback_type get_more, 702 pcm_play_callback_type get_more,
703 const void *start, size_t size); 703 const void *start, size_t size);