summaryrefslogtreecommitdiff
path: root/lib/rbcodec/dsp/compressor.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-04-29 17:31:30 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-04-29 17:31:30 -0400
commit56f17c4164bf4e8a7b6996b0a5c2670d0917de25 (patch)
tree51b7312cab17300ef580b74953825a5ff2d22e8e /lib/rbcodec/dsp/compressor.c
parent23b5f3e5e1ce19d6d872afe737e8924488d7d58b (diff)
downloadrockbox-56f17c4164bf4e8a7b6996b0a5c2670d0917de25.zip
rockbox-56f17c4164bf4e8a7b6996b0a5c2670d0917de25.tar.gz
rockbox-56f17c4164bf4e8a7b6996b0a5c2670d0917de25.tar.bz2
rockbox-56f17c4164bf4e8a7b6996b0a5c2670d0917de25.tar.xz
Make rbcodec/dsp includes more specific.
Change-Id: Idb6af40df26f5b8499a40e8b98602261ef227044
Diffstat (limited to 'lib/rbcodec/dsp/compressor.c')
-rw-r--r--lib/rbcodec/dsp/compressor.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/rbcodec/dsp/compressor.c b/lib/rbcodec/dsp/compressor.c
index 8441cd6..22a60e4 100644
--- a/lib/rbcodec/dsp/compressor.c
+++ b/lib/rbcodec/dsp/compressor.c
@@ -19,17 +19,17 @@
*
****************************************************************************/
#include "config.h"
-#include "system.h"
+#include <stdbool.h>
+#include <sys/types.h>
#include "fixedpoint.h"
#include "fracmul.h"
-#include "dsp.h"
#include <string.h>
/* Define LOGF_ENABLE to enable logf output in this file */
/*#define LOGF_ENABLE*/
#include "logf.h"
-
#include "dsp_proc_entry.h"
+#include "compressor.h"
static struct compressor_settings curr_set; /* Cached settings */
@@ -228,10 +228,10 @@ static bool compressor_update(const struct compressor_settings *settings)
logf("\nGain factors:");
for (int i = 1; i <= 65; i++)
{
- debugf("%02d: %.6f ", i, (float)comp_curve[i] / UNITY);
- if (i % 4 == 0) debugf("\n");
+ DEBUGF("%02d: %.6f ", i, (float)comp_curve[i] / UNITY);
+ if (i % 4 == 0) DEBUGF("\n");
}
- debugf("\n");
+ DEBUGF("\n");
#endif
/* if using auto peak, then makeup gain is max offset -