From ec2c507e601dc07461b84cadaa8865aa8c85a5d9 Mon Sep 17 00:00:00 2001 From: "roman.artiukhin" Date: Fri, 22 Sep 2023 19:49:41 +0300 Subject: Support per file logging with LOGF_ENABLE in codecs Codecs mostly use custom LOGF define for logging (i.e. see aac.c). Now such logging can be enabled in single file with #define LOGF_ENABLE Change-Id: I36312fbcd2d9166fb1fe5ead31e7354342d8828d --- lib/rbcodec/codecs/libfaad/common.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'lib/rbcodec/codecs/libfaad') diff --git a/lib/rbcodec/codecs/libfaad/common.h b/lib/rbcodec/codecs/libfaad/common.h index c5eaa0aa51..8f66a14ce0 100644 --- a/lib/rbcodec/codecs/libfaad/common.h +++ b/lib/rbcodec/codecs/libfaad/common.h @@ -35,22 +35,6 @@ extern "C" { #include "faad_config.h" #include "codeclib.h" -extern struct codec_api* ci; - -#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 - #if (CONFIG_CPU == MCF5250) /* Enough IRAM but performance suffers with ICODE_ATTR. */ #define IBSS_ATTR_FAAD_LARGE_IRAM IBSS_ATTR -- cgit v1.2.3