Revert "Upconvert various types to int."
This reverts commit 83ad33a8aed1fb00e422b6abd33c3e8942821c24.
BUG=499241
TBR=hlundin
Review URL: https://codereview.webrtc.org/1179953003
Cr-Commit-Position: refs/heads/master@{#9418}
diff --git a/webrtc/modules/audio_coding/neteq/expand.h b/webrtc/modules/audio_coding/neteq/expand.h
index 672ea39..5679ec1 100644
--- a/webrtc/modules/audio_coding/neteq/expand.h
+++ b/webrtc/modules/audio_coding/neteq/expand.h
@@ -72,7 +72,7 @@
void GenerateBackgroundNoise(int16_t* random_vector,
size_t channel,
- int mute_slope,
+ int16_t mute_slope,
bool too_many_expands,
size_t num_noise_samples,
int16_t* buffer);
@@ -113,7 +113,7 @@
AudioVector expand_vector0;
AudioVector expand_vector1;
bool onset;
- int mute_slope; /* Q20 */
+ int16_t mute_slope; /* Q20 */
};
// Calculate the auto-correlation of |input|, with length |input_length|
@@ -121,7 +121,7 @@
// |input|, and is written to |output|. The scale factor is written to
// |output_scale|. Returns the length of the correlation vector.
int16_t Correlation(const int16_t* input, size_t input_length,
- int16_t* output, int* output_scale) const;
+ int16_t* output, int16_t* output_scale) const;
void UpdateLagIndex();