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

Unified Diff: webrtc/modules/audio_processing/agc/agc_manager_direct.cc

Issue 1212543002: Pull the Voice Activity Detector out from the AGC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@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
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() {

Powered by Google App Engine
This is Rietveld 408576698