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

Unified Diff: webrtc/media/engine/apm_helpers.h

Issue 2681033010: Remove usage of VoEAudioProcessing from WVoE/MC. (Closed)
Patch Set: one more Created 3 years, 10 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 | « webrtc/media/BUILD.gn ('k') | webrtc/media/engine/apm_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/engine/apm_helpers.h
diff --git a/webrtc/media/engine/apm_helpers.h b/webrtc/media/engine/apm_helpers.h
new file mode 100644
index 0000000000000000000000000000000000000000..1bcf0511ec1fb85f034df0dc3473807909f56913
--- /dev/null
+++ b/webrtc/media/engine/apm_helpers.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef WEBRTC_MEDIA_ENGINE_APM_HELPERS_H_
+#define WEBRTC_MEDIA_ENGINE_APM_HELPERS_H_
+
+#include "webrtc/common_types.h"
+
+namespace webrtc {
+
+class AudioProcessing;
+class AudioDeviceModule;
+
+namespace apm_helpers {
+
+AgcConfig GetAgcConfig(AudioProcessing* apm);
+void SetAgcConfig(AudioProcessing* apm,
+ const AgcConfig& config);
+void SetAgcStatus(AudioProcessing* apm,
+ AudioDeviceModule* adm,
+ bool enable,
+ AgcModes mode);
+void SetEcStatus(AudioProcessing* apm,
+ bool enable,
+ EcModes mode);
+void SetEcMetricsStatus(AudioProcessing* apm, bool enable);
+void SetAecmMode(AudioProcessing* apm, bool enable_cng);
+void SetNsStatus(AudioProcessing* apm, bool enable);
+void SetTypingDetectionStatus(AudioProcessing* apm, bool enable);
+
+} // namespace apm_helpers
+} // namespace webrtc
+
+#endif // WEBRTC_MEDIA_ENGINE_APM_HELPERS_H_
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/media/engine/apm_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698