1
0
Fork 0
forked from len0rd/rockbox

Only expose pcmbuf_beep on SWCODEC targets (aka fix red).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23406 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-10-29 17:16:31 +00:00
parent 5ca112b21e
commit fecac647d8
2 changed files with 4 additions and 0 deletions

View file

@ -672,7 +672,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)
pcmbuf_beep,
#endif
};
int plugin_load(const char* plugin, const void* parameter)

View file

@ -842,9 +842,11 @@ struct plugin_api {
/* new stuff at the end, sort into place next time
the API gets incompatible */
#if (CONFIG_CODEC == SWCODEC)
void (*pcmbuf_beep)(unsigned int frequency,
size_t duration,
int amplitude);
#endif
};
/* plugin header */