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

Unified Diff: webrtc/modules/audio_processing/echo_cancellation_impl.h

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
Index: webrtc/modules/audio_processing/echo_cancellation_impl.h
diff --git a/webrtc/modules/audio_processing/echo_cancellation_impl.h b/webrtc/modules/audio_processing/echo_cancellation_impl.h
index b91d23d823efc99a560bba4e31cae087a51f5658..813019f424c1dbecdce5539e0730502187b24567 100644
--- a/webrtc/modules/audio_processing/echo_cancellation_impl.h
+++ b/webrtc/modules/audio_processing/echo_cancellation_impl.h
@@ -48,6 +48,11 @@ class EchoCancellationImpl : public EchoCancellation {
bool is_extended_filter_enabled() const;
bool is_aec3_enabled() const;
+ // Checks whether the module is enabled. Must only be
+ // called from the render side of APM as otherwise
+ // deadlocks may occur.
+ bool is_enabled_render_side_query() const;
+
// Reads render side data that has been queued on the render call.
// Called holding the capture lock.
void ReadQueuedRenderData();
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | webrtc/modules/audio_processing/echo_cancellation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698