Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: webrtc/modules/audio_coding/neteq/expand.h

Issue 1179953003: Revert "Upconvert various types to int." (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_coding/neteq/dsp_helper.cc ('k') | webrtc/modules/audio_coding/neteq/expand.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/neteq/expand.h
diff --git a/webrtc/modules/audio_coding/neteq/expand.h b/webrtc/modules/audio_coding/neteq/expand.h
index 672ea399a554231594ae2422d36689086732bd61..5679ec1cc621695fc56331c7ddc6b80c7e5cbd35 100644
--- a/webrtc/modules/audio_coding/neteq/expand.h
+++ b/webrtc/modules/audio_coding/neteq/expand.h
@@ -72,7 +72,7 @@ class Expand {
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 @@ class Expand {
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 @@ class Expand {
// |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();
« no previous file with comments | « webrtc/modules/audio_coding/neteq/dsp_helper.cc ('k') | webrtc/modules/audio_coding/neteq/expand.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698