diff options
-rw-r--r-- | lib/rbcodec/dsp/compressor.c | 2 | ||||
-rw-r--r-- | lib/rbcodec/dsp/dsp_misc.c | 1 | ||||
-rw-r--r-- | 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 @@ | |||
19 | * | 19 | * |
20 | ****************************************************************************/ | 20 | ****************************************************************************/ |
21 | #include "rbcodecconfig.h" | 21 | #include "rbcodecconfig.h" |
22 | #include <stdbool.h> | ||
23 | #include <sys/types.h> | ||
24 | #include "fixedpoint.h" | 22 | #include "fixedpoint.h" |
25 | #include "fracmul.h" | 23 | #include "fracmul.h" |
26 | #include <string.h> | 24 | #include <string.h> |
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 @@ | |||
22 | * | 22 | * |
23 | ****************************************************************************/ | 23 | ****************************************************************************/ |
24 | #include "rbcodecconfig.h" | 24 | #include "rbcodecconfig.h" |
25 | #include "sound.h" | ||
26 | #include "fixedpoint.h" | 25 | #include "fixedpoint.h" |
27 | #include "replaygain.h" | 26 | #include "replaygain.h" |
28 | #include "dsp_proc_entry.h" | 27 | #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) | |||
126 | #endif | 126 | #endif |
127 | */ | 127 | */ |
128 | 128 | ||
129 | #ifdef HAVE_PITCHCONTROL | ||
130 | /* precision of the pitch and speed variables */ | ||
131 | /* One zero per decimal (100 means two decimal places */ | ||
132 | #define PITCH_SPEED_PRECISION 100L | ||
133 | #define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */ | ||
134 | #endif /* HAVE_PITCHCONTROL */ | ||
135 | |||
129 | int find_first_set_bit(uint32_t value); | 136 | int find_first_set_bit(uint32_t value); |
130 | #endif /* PLATFORM_H_INCLUDED */ | 137 | #endif /* PLATFORM_H_INCLUDED */ |