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

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

Issue 2848593002: AGC2 as a new APM sub-module operating with hard-coded gain. (Closed)
Patch Set: AGC2 in APM with enabled flag Created 3 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/include/audio_processing.h
diff --git a/webrtc/modules/audio_processing/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h
index a1cd398b022f225adc233f7ddaa6abcb66ccd985..494c812c9967810aabb7d0b68d8505da578cb2fd 100644
--- a/webrtc/modules/audio_processing/include/audio_processing.h
+++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -267,6 +267,14 @@ class AudioProcessing {
struct EchoCanceller3 {
bool enabled = false;
} echo_canceller3;
+
+ // AGC2 enables the next generation AGC functionality. This feature replaces
+ // the standard methods of adaptive gain control in the previous AGC.
+ // The functionality is not yet activated in the code and turning this on
+ // does not yet have the desired behavior.
+ struct Agc2 {
peah-webrtc 2017/05/02 11:01:08 Along the lines of the comments from aleloi@, Gain
AleBzk 2017/05/02 11:31:55 Acknowledged.
+ bool enabled = false;
+ } agc2;
};
// TODO(mgraczyk): Remove once all methods that use ChannelLayout are gone.

Powered by Google App Engine
This is Rietveld 408576698