diff options
Diffstat (limited to 'lib/rbcodec/platform.h')
-rw-r--r-- | lib/rbcodec/platform.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ |