summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-10-29 17:16:31 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-10-29 17:16:31 +0000
commitfecac647d8024c34810386511128070f2d66e004 (patch)
tree47cd6d45a15715a3b9779213de3ed72c436d2c43 /apps/plugin.h
parent5ca112b21e2fd65aa66644ff6131a0b428ef1f75 (diff)
downloadrockbox-fecac647d8024c34810386511128070f2d66e004.zip
rockbox-fecac647d8024c34810386511128070f2d66e004.tar.gz
rockbox-fecac647d8024c34810386511128070f2d66e004.tar.bz2
rockbox-fecac647d8024c34810386511128070f2d66e004.tar.xz
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
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index de99846..129fd9b 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -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 */