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 e07ec92c08..bddf23b5d2 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -153,12 +153,12 @@ void* plugin_get_buffer(size_t *buffer_size);
153#define PLUGIN_MAGIC 0x526F634B /* RocK */ 153#define PLUGIN_MAGIC 0x526F634B /* RocK */
154 154
155/* increase this every time the api struct changes */ 155/* increase this every time the api struct changes */
156#define PLUGIN_API_VERSION 217 156#define PLUGIN_API_VERSION 218
157 157
158/* update this to latest version if a change to the api struct breaks 158/* update this to latest version if a change to the api struct breaks
159 backwards compatibility (and please take the opportunity to sort in any 159 backwards compatibility (and please take the opportunity to sort in any
160 new function which are "waiting" at the end of the function table) */ 160 new function which are "waiting" at the end of the function table) */
161#define PLUGIN_MIN_API_VERSION 217 161#define PLUGIN_MIN_API_VERSION 218
162 162
163/* plugin return codes */ 163/* plugin return codes */
164/* internal returns start at 0x100 to make exit(1..255) work */ 164/* internal returns start at 0x100 to make exit(1..255) work */
@@ -705,7 +705,7 @@ struct plugin_api {
705 size_t (*mixer_channel_get_bytes_waiting)(enum pcm_mixer_channel channel); 705 size_t (*mixer_channel_get_bytes_waiting)(enum pcm_mixer_channel channel);
706 706
707 void (*system_sound_play)(enum system_sound sound); 707 void (*system_sound_play)(enum system_sound sound);
708 void (*keyclick_click)(int button); 708 void (*keyclick_click)(int context, int action);
709#endif /* CONFIG_CODEC == SWCODC */ 709#endif /* CONFIG_CODEC == SWCODC */
710 710
711 /* playback control */ 711 /* playback control */