summaryrefslogtreecommitdiff
path: root/apps/plugins/wav2wv.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-01-15 18:20:18 +0000
committerJens Arnold <amiconn@rockbox.org>2006-01-15 18:20:18 +0000
commita36b1d4083e5cf34df1b217516be28471e7d0dc7 (patch)
tree629bb610d0ffcc451d3b0383f62daaed7d602603 /apps/plugins/wav2wv.c
parentc7c9069ed4bda959e649520342017d826123931e (diff)
downloadrockbox-a36b1d4083e5cf34df1b217516be28471e7d0dc7.tar.gz
rockbox-a36b1d4083e5cf34df1b217516be28471e7d0dc7.zip
New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/wav2wv.c')
-rw-r--r--apps/plugins/wav2wv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wav2wv.c b/apps/plugins/wav2wv.c
index 1f47eff3ed..20a458960f 100644
--- a/apps/plugins/wav2wv.c
+++ b/apps/plugins/wav2wv.c
@@ -20,6 +20,8 @@
20 20
21#include <codecs/libwavpack/wavpack.h> 21#include <codecs/libwavpack/wavpack.h>
22 22
23PLUGIN_HEADER
24
23#define SAMPLES_PER_BLOCK 22050 25#define SAMPLES_PER_BLOCK 22050
24 26
25static struct plugin_api* rb; 27static struct plugin_api* rb;
@@ -287,8 +289,6 @@ static int wav2wv (char *filename)
287 289
288enum plugin_status plugin_start(struct plugin_api* api, void *parameter) 290enum plugin_status plugin_start(struct plugin_api* api, void *parameter)
289{ 291{
290 TEST_PLUGIN_API(api);
291
292 rb = api; 292 rb = api;
293 293
294 if (!parameter) 294 if (!parameter)