summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
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 de9984637f..129fd9b389 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 */