summaryrefslogtreecommitdiff
path: root/apps/plugins/lib
diff options
context:
space:
mode:
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);