Index: webrtc/modules/audio_coding/neteq/normal.cc |
diff --git a/webrtc/modules/audio_coding/neteq/normal.cc b/webrtc/modules/audio_coding/neteq/normal.cc |
index b172d561b184b6fab47f1409b1844b76e8225773..18ba79b46269e81b5c0b4915a98aaebc2d910f47 100644 |
--- a/webrtc/modules/audio_coding/neteq/normal.cc |
+++ b/webrtc/modules/audio_coding/neteq/normal.cc |
@@ -110,7 +110,7 @@ int Normal::Process(const int16_t* input, |
} |
// If muted increase by 0.64 for every 20 ms (NB/WB 0.0040/0.0020 in Q14). |
- int increment = static_cast<int>(64 / fs_mult); |
+ int16_t increment = 64 / fs_mult; |
for (size_t i = 0; i < length_per_channel; i++) { |
// Scale with mute factor. |
assert(channel_ix < output->Channels()); |
@@ -176,7 +176,7 @@ int Normal::Process(const int16_t* input, |
// Previous was neither of Expand, FadeToBGN or RFC3389_CNG, but we are |
// still ramping up from previous muting. |
// If muted increase by 0.64 for every 20 ms (NB/WB 0.0040/0.0020 in Q14). |
- int increment = static_cast<int>(64 / fs_mult); |
+ int16_t increment = 64 / fs_mult; |
size_t length_per_channel = length / output->Channels(); |
for (size_t i = 0; i < length_per_channel; i++) { |
for (size_t channel_ix = 0; channel_ix < output->Channels(); |