summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/xxx2wav.h
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-02-19 12:11:18 +0000
committerDave Chapman <dave@dchapman.com>2005-02-19 12:11:18 +0000
commit4d961f21285de89360173ccc76ee82eb504d726e (patch)
treee41a8acd5f2879abd572de666bec36b8266e6a47 /apps/plugins/lib/xxx2wav.h
parent1839a956ba67fc601706bfd9d5f46a22c60bfc70 (diff)
First version of vorbis decoder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6017 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/xxx2wav.h')
-rw-r--r--apps/plugins/lib/xxx2wav.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/lib/xxx2wav.h b/apps/plugins/lib/xxx2wav.h
index e89361c46a..501aaa3933 100644
--- a/apps/plugins/lib/xxx2wav.h
+++ b/apps/plugins/lib/xxx2wav.h
@@ -19,6 +19,15 @@
/* Various "helper functions" common to all the xxx2wav decoder plugins */
+
+/* A macro to enable printf for the simulator only */
+
+#ifdef SIMULATOR
+#define dprintf(...) printf(__VA_ARGS__)
+#else
+#define dprintf(...)
+#endif
+
/* the main data structure of the program */
typedef struct {
int infile;