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

Unified Diff: webrtc/modules/audio_processing/gain_control_impl.cc

Issue 2304123002: Cleaned up and revised the handling of resampling and bandsplitting in APM and (Closed)
Patch Set: Changes in response to reviewer comments Created 4 years, 3 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/gain_control_impl.cc
diff --git a/webrtc/modules/audio_processing/gain_control_impl.cc b/webrtc/modules/audio_processing/gain_control_impl.cc
index 2461f72ad358d26b29ba8ef057d496302aae9a99..6bb1d2029b626d84e7388a648aca4b3ff1107fe5 100644
--- a/webrtc/modules/audio_processing/gain_control_impl.cc
+++ b/webrtc/modules/audio_processing/gain_control_impl.cc
@@ -316,12 +316,6 @@ int GainControlImpl::Enable(bool enable) {
return AudioProcessing::kNoError;
}
-bool GainControlImpl::is_enabled_render_side_query() const {
- // TODO(peah): Add threadchecker.
- rtc::CritScope cs(crit_render_);
- return enabled_;
-}
-
bool GainControlImpl::is_enabled() const {
rtc::CritScope cs(crit_capture_);
return enabled_;

Powered by Google App Engine
This is Rietveld 408576698