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

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

Issue 1859243002: Added a query function for whether submodules are enabled (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: "Rebase with latest master" Created 4 years, 8 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/echo_cancellation_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/audio_processing_impl.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index 953b6996ccf526955edc45efb53057bdda306416..0f48fa5e186434a3cda7afd75cc3d2150e3984db 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -1157,9 +1157,11 @@ bool AudioProcessingImpl::rev_synthesis_needed() const {
bool AudioProcessingImpl::rev_analysis_needed() const {
return formats_.rev_proc_format.sample_rate_hz() == kSampleRate32kHz &&
(is_rev_processed() ||
- public_submodules_->echo_cancellation->is_enabled() ||
- public_submodules_->echo_control_mobile->is_enabled() ||
- public_submodules_->gain_control->is_enabled());
+ public_submodules_->echo_cancellation
+ ->is_enabled_render_side_query() ||
+ public_submodules_->echo_control_mobile
+ ->is_enabled_render_side_query() ||
+ public_submodules_->gain_control->is_enabled_render_side_query());
}
bool AudioProcessingImpl::render_check_rev_conversion_needed() const {
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/echo_cancellation_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698