1
0
Fork 0
forked from len0rd/rockbox

libspeex: let DEBUGF work correctly for both core and codec builds

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15677 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-11-18 23:17:39 +00:00
parent c31818ccf0
commit 371ebe1160

View file

@ -24,22 +24,21 @@
#include "../codec.h"
#include "../lib/codeclib.h"
#include "debug.h"
#if !defined(ROCKBOX_VOICE_CODEC)
#if defined(DEBUG) || defined(SIMULATOR)
#undef DEBUGF
#define DEBUGF ci->debugf
#else
#define DEBUGF(...)
#endif
#ifdef ROCKBOX_HAS_LOGF
#undef LOGF
#define LOGF ci->logf
#else
#define LOGF(...)
#endif
extern struct codec_api* ci;
#endif /* ROCKBOX_VOICE_CODEC */
#define OVERRIDE_SPEEX_ALLOC 1
static inline void *speex_alloc (int size)