diff options
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index e6e41e1..26d17a2 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -142,7 +142,7 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 183 +#define PLUGIN_API_VERSION 184 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any @@ -874,6 +874,14 @@ struct plugin_api { #ifdef HAVE_LCD_BITMAP bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl); #endif + +#if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && \ + (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) +int (*round_value_to_list32)(unsigned long value, + const unsigned long list[], + int count, + bool signd); +#endif }; /* plugin header */ |