diff options
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index aa39829daf..77c8e831d4 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -146,7 +146,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
146 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 146 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
147 | 147 | ||
148 | /* increase this every time the api struct changes */ | 148 | /* increase this every time the api struct changes */ |
149 | #define PLUGIN_API_VERSION 206 | 149 | #define PLUGIN_API_VERSION 207 |
150 | 150 | ||
151 | /* update this to latest version if a change to the api struct breaks | 151 | /* update this to latest version if a change to the api struct breaks |
152 | backwards compatibility (and please take the opportunity to sort in any | 152 | backwards compatibility (and please take the opportunity to sort in any |
@@ -911,6 +911,8 @@ struct plugin_api { | |||
911 | #if CONFIG_CODEC == SWCODEC | 911 | #if CONFIG_CODEC == SWCODEC |
912 | enum channel_status (*mixer_channel_status)(enum pcm_mixer_channel channel); | 912 | enum channel_status (*mixer_channel_status)(enum pcm_mixer_channel channel); |
913 | void * (*mixer_channel_get_buffer)(enum pcm_mixer_channel channel, int *count); | 913 | void * (*mixer_channel_get_buffer)(enum pcm_mixer_channel channel, int *count); |
914 | void (*mixer_channel_calculate_peaks)(enum pcm_mixer_channel channel, | ||
915 | int *left, int *right); | ||
914 | #endif | 916 | #endif |
915 | }; | 917 | }; |
916 | 918 | ||