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

Unified Diff: webrtc/modules/audio_processing/aec3/echo_canceller3.h

Issue 2611223003: Adding second layer of the echo canceller 3 functionality. (Closed)
Patch Set: Disabled DEATH tests that were causing memory leakage reports on test bots Created 3 years, 11 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/aec3/echo_canceller3.h
diff --git a/webrtc/modules/audio_processing/aec3/echo_canceller3.h b/webrtc/modules/audio_processing/aec3/echo_canceller3.h
index 57714b2b065ba27b4532371cd0232fa9c19f1419..f1a7f38b3a5965fb4f896373e4115ed5e42b68c8 100644
--- a/webrtc/modules/audio_processing/aec3/echo_canceller3.h
+++ b/webrtc/modules/audio_processing/aec3/echo_canceller3.h
@@ -76,15 +76,15 @@ class EchoCanceller3 {
void AnalyzeCapture(AudioBuffer* capture);
// Processes the split-band domain capture signal in order to remove any echo
// present in the signal.
- void ProcessCapture(AudioBuffer* capture, bool known_echo_path_change);
+ void ProcessCapture(AudioBuffer* capture, bool level_change);
// Signals whether an external detector has detected echo leakage from the
// echo canceller.
// Note that in the case echo leakage has been flagged, it should be unflagged
// once it is no longer occurring.
- void ReportEchoLeakage(bool leakage_detected) {
+ void UpdateEchoLeakageStatus(bool leakage_detected) {
RTC_DCHECK_RUNS_SERIALIZED(&capture_race_checker_);
- block_processor_->ReportEchoLeakage(leakage_detected);
+ block_processor_->UpdateEchoLeakageStatus(leakage_detected);
}
// Validates a config.
@@ -96,6 +96,8 @@ class EchoCanceller3 {
private:
class RenderWriter;
+ // Empties the render SwapQueue. A bool is returned that indicates the success
+ // of the operation.
bool EmptyRenderQueue();
rtc::RaceChecker capture_race_checker_;

Powered by Google App Engine
This is Rietveld 408576698