summaryrefslogtreecommitdiff
path: root/apps/plugins/mpa2wav.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-16 18:51:21 +0000
committerDave Chapman <dave@dchapman.com>2005-02-16 18:51:21 +0000
commit9b32a1988f848145d96ba2be8cba86e837196df3 (patch)
tree006a5e22ffbc054a1504f69c14567ad6e7707236 /apps/plugins/mpa2wav.c
parent711f763a127b5be80018c49db333841178103913 (diff)
downloadrockbox-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.c8
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
27static 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" 29static struct plugin_api* rb;
32 30
33struct mad_stream Stream; 31struct mad_stream Stream;
34struct mad_frame Frame; 32struct 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