summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-06-06 00:32:05 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-06-06 00:32:05 +0000
commitc10e148a6e010716e97f74656b1c1f75fba1d716 (patch)
treed238499f3c0504dfa8c785a763996400cb7176c2 /apps/plugins/lib
parentacd903dfd6d68701a87a0fd9914b5c55add600f7 (diff)
downloadrockbox-c10e148a6e010716e97f74656b1c1f75fba1d716.zip
rockbox-c10e148a6e010716e97f74656b1c1f75fba1d716.tar.gz
rockbox-c10e148a6e010716e97f74656b1c1f75fba1d716.tar.bz2
rockbox-c10e148a6e010716e97f74656b1c1f75fba1d716.tar.xz
Killed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6581 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r--apps/plugins/lib/codeclib.c1
-rw-r--r--apps/plugins/lib/xxx2wav.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/apps/plugins/lib/codeclib.c b/apps/plugins/lib/codeclib.c
index d9866ef..9d9cc0b 100644
--- a/apps/plugins/lib/codeclib.c
+++ b/apps/plugins/lib/codeclib.c
@@ -22,6 +22,7 @@
#include "plugin.h"
#include "playback.h"
#include "codeclib.h"
+#include "xxx2wav.h"
struct plugin_api* local_rb;
diff --git a/apps/plugins/lib/xxx2wav.c b/apps/plugins/lib/xxx2wav.c
index ed67184..8eadfb8 100644
--- a/apps/plugins/lib/xxx2wav.c
+++ b/apps/plugins/lib/xxx2wav.c
@@ -35,13 +35,13 @@ unsigned char* filebuf; // The rest of the audio buffer
void* codec_malloc(size_t size) {
void* x;
- char s[32];
- static long last_tick = 0;
x=&mallocbuf[mem_ptr];
mem_ptr+=(size+3)&~3; // Keep memory 32-bit aligned (if it was already?)
/*
if(TIME_AFTER(*(local_rb->current_tick), last_tick + HZ)) {
+ char s[32];
+ static long last_tick = 0;
local_rb->snprintf(s,30,"Memory used: %d",mem_ptr);
local_rb->lcd_putsxy(0,80,s);