Index: webrtc/modules/audio_processing/agc/agc_manager_direct.cc |
diff --git a/webrtc/modules/audio_processing/agc/agc_manager_direct.cc b/webrtc/modules/audio_processing/agc/agc_manager_direct.cc |
index 573d48cdb9264d5664e1211de0a7147bac85ed9f..74f55407a425605e7209fc0e601bb1bfa942f357 100644 |
--- a/webrtc/modules/audio_processing/agc/agc_manager_direct.cc |
+++ b/webrtc/modules/audio_processing/agc/agc_manager_direct.cc |
@@ -321,7 +321,7 @@ void AgcManagerDirect::SetCaptureMuted(bool muted) { |
} |
float AgcManagerDirect::voice_probability() { |
- return static_cast<float>(agc_->voice_probability()); |
+ return agc_->voice_probability(); |
} |
int AgcManagerDirect::CheckVolumeAndReset() { |