diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 16:52:12 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2009-10-29 16:52:12 +0000 |
commit | 8fb258856c537d02ed4ebd11397f055f9dc3cc5f (patch) | |
tree | effed53a5491ed25d9fb114e3fe3b9c55c354f04 /apps/plugin.c | |
parent | b1a7511990c5676581810e9fce1d8ad790014048 (diff) | |
download | rockbox-8fb258856c537d02ed4ebd11397f055f9dc3cc5f.tar.gz rockbox-8fb258856c537d02ed4ebd11397f055f9dc3cc5f.zip |
Expose pcmbuf_beep() to plugins (based on FS#10608 by Christophe Gragnic)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23404 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index ae889d68fd..b79ea49054 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -39,6 +39,7 @@ | |||
39 | #include "talk.h" | 39 | #include "talk.h" |
40 | #include "version.h" | 40 | #include "version.h" |
41 | #include "storage.h" | 41 | #include "storage.h" |
42 | #include "pcmbuf.h" | ||
42 | 43 | ||
43 | #if CONFIG_CHARGING | 44 | #if CONFIG_CHARGING |
44 | #include "power.h" | 45 | #include "power.h" |
@@ -671,6 +672,7 @@ static const struct plugin_api rockbox_api = { | |||
671 | appsversion, | 672 | appsversion, |
672 | /* new stuff at the end, sort into place next time | 673 | /* new stuff at the end, sort into place next time |
673 | the API gets incompatible */ | 674 | the API gets incompatible */ |
675 | pcmbuf_beep, | ||
674 | }; | 676 | }; |
675 | 677 | ||
676 | int plugin_load(const char* plugin, const void* parameter) | 678 | int plugin_load(const char* plugin, const void* parameter) |