| Index: webrtc/modules/audio_processing/transient/transient_suppressor.cc
|
| diff --git a/webrtc/modules/audio_processing/transient/transient_suppressor.cc b/webrtc/modules/audio_processing/transient/transient_suppressor.cc
|
| index 206d14db755c03baefc64b0435cfb68d512bd947..c0aafa96dc862b3e9b57c7e8b405d82f18136888 100644
|
| --- a/webrtc/modules/audio_processing/transient/transient_suppressor.cc
|
| +++ b/webrtc/modules/audio_processing/transient/transient_suppressor.cc
|
| @@ -373,7 +373,7 @@ void TransientSuppressor::HardRestoration(float* spectral_mean) {
|
| // spectral mean we adjust them.
|
| for (size_t i = 0; i < complex_analysis_length_; ++i) {
|
| if (magnitudes_[i] > spectral_mean[i] && magnitudes_[i] > 0) {
|
| - // RandU() generates values on [0, int16::max()]
|
| + // RandU() generates values on [0, int16_t::max()]
|
| const float phase = 2 * ts::kPi * WebRtcSpl_RandU(&seed_) /
|
| std::numeric_limits<int16_t>::max();
|
| const float scaled_mean = detector_result * spectral_mean[i];
|
|
|