From 46688a60db58a54e5456c8e4777c92c66c9e45bb Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 27 May 2013 03:40:02 -0400 Subject: Missed removing a couple unwanted includes in previous commit. Get those too. Change-Id: Id2a39afe7a61d6ec0cea38633b94fe1b7122204f --- lib/rbcodec/dsp/compressor.c | 2 -- lib/rbcodec/dsp/dsp_misc.c | 1 - lib/rbcodec/platform.h | 7 +++++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lib/rbcodec/dsp/compressor.c b/lib/rbcodec/dsp/compressor.c index 630672a343..fc73f761a7 100644 --- a/lib/rbcodec/dsp/compressor.c +++ b/lib/rbcodec/dsp/compressor.c @@ -19,8 +19,6 @@ * ****************************************************************************/ #include "rbcodecconfig.h" -#include -#include #include "fixedpoint.h" #include "fracmul.h" #include diff --git a/lib/rbcodec/dsp/dsp_misc.c b/lib/rbcodec/dsp/dsp_misc.c index 03c6a70052..cc74a790ea 100644 --- a/lib/rbcodec/dsp/dsp_misc.c +++ b/lib/rbcodec/dsp/dsp_misc.c @@ -22,7 +22,6 @@ * ****************************************************************************/ #include "rbcodecconfig.h" -#include "sound.h" #include "fixedpoint.h" #include "replaygain.h" #include "dsp_proc_entry.h" diff --git a/lib/rbcodec/platform.h b/lib/rbcodec/platform.h index be2fd059d9..7a0c87fa9c 100644 --- a/lib/rbcodec/platform.h +++ b/lib/rbcodec/platform.h @@ -126,5 +126,12 @@ static inline int32_t clip_sample_16(int32_t sample) #endif */ +#ifdef HAVE_PITCHCONTROL +/* precision of the pitch and speed variables */ +/* One zero per decimal (100 means two decimal places */ +#define PITCH_SPEED_PRECISION 100L +#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */ +#endif /* HAVE_PITCHCONTROL */ + int find_first_set_bit(uint32_t value); #endif /* PLATFORM_H_INCLUDED */ -- cgit v1.2.3