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/platform.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/rbcodec/platform.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