Fix red: plugins on hwcodec targets

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22395 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jeffrey Goode 2009-08-18 03:45:18 +00:00
parent 2b7ef6b928
commit 3ebb836b52
2 changed files with 5 additions and 1 deletions

View file

@ -668,7 +668,9 @@ static const struct plugin_api rockbox_api = {
appsversion,
/* new stuff at the end, sort into place next time
the API gets incompatible */
#if CONFIG_CODEC == SWCODEC
dsp_flush_limiter_buffer,
#endif
};
int plugin_load(const char* plugin, const void* parameter)

View file

@ -133,7 +133,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 167
#define PLUGIN_API_VERSION 168
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@ -836,7 +836,9 @@ struct plugin_api {
const char *appsversion;
/* new stuff at the end, sort into place next time
the API gets incompatible */
#if CONFIG_CODEC == SWCODEC
int (*dsp_flush_limiter_buffer)(char *dest);
#endif
};
/* plugin header */