diff options
author | Dave Chapman <dave@dchapman.com> | 2005-02-16 18:51:21 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-02-16 18:51:21 +0000 |
commit | 9b32a1988f848145d96ba2be8cba86e837196df3 (patch) | |
tree | 006a5e22ffbc054a1504f69c14567ad6e7707236 /apps/plugins/mpa2wav.c | |
parent | 711f763a127b5be80018c49db333841178103913 (diff) | |
download | rockbox-9b32a1988f848145d96ba2be8cba86e837196df3.tar.gz rockbox-9b32a1988f848145d96ba2be8cba86e837196df3.zip |
Move contents of plugins/xxx2wav.h into the plugin library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5982 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpa2wav.c')
-rw-r--r-- | apps/plugins/mpa2wav.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/apps/plugins/mpa2wav.c b/apps/plugins/mpa2wav.c index 2f1f329275..a4fbf79605 100644 --- a/apps/plugins/mpa2wav.c +++ b/apps/plugins/mpa2wav.c | |||
@@ -24,11 +24,9 @@ | |||
24 | 24 | ||
25 | #include <codecs/libmad/mad.h> | 25 | #include <codecs/libmad/mad.h> |
26 | 26 | ||
27 | static struct plugin_api* rb; | 27 | #include "lib/xxx2wav.h" /* Helper functions common to test decoders */ |
28 | |||
29 | /* Helper functions common to all decoder test viewers (uses rb) */ | ||
30 | 28 | ||
31 | #include "xxx2wav.h" | 29 | static struct plugin_api* rb; |
32 | 30 | ||
33 | struct mad_stream Stream; | 31 | struct mad_stream Stream; |
34 | struct mad_frame Frame; | 32 | struct mad_frame Frame; |
@@ -149,7 +147,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* file) | |||
149 | 147 | ||
150 | /* This function sets up the buffers and reads the file into RAM */ | 148 | /* This function sets up the buffers and reads the file into RAM */ |
151 | 149 | ||
152 | if (local_init(file,"/libmadtest.wav",&file_info)) { | 150 | if (local_init(file,"/libmadtest.wav",&file_info,api)) { |
153 | return PLUGIN_ERROR; | 151 | return PLUGIN_ERROR; |
154 | } | 152 | } |
155 | 153 | ||