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

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

Issue 2745253007: (Re)move VoE specific enums from common_types.h. (Closed)
Patch Set: Created 3 years, 9 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/common_types.h ('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
index 1bcf0511ec1fb85f034df0dc3473807909f56913..eff7133c44b23bd810d8209c05585d6c1354a4f9 100644
--- a/webrtc/media/engine/apm_helpers.h
+++ b/webrtc/media/engine/apm_helpers.h
@@ -11,13 +11,22 @@
#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;
+enum EcModes {
+ kEcConference, // Conferencing default (aggressive AEC).
+ kEcAecm, // AEC mobile.
+};
+
+struct AgcConfig {
+ unsigned short targetLeveldBOv;
+ unsigned short digitalCompressionGaindB;
+ bool limiterEnable;
+};
+
namespace apm_helpers {
AgcConfig GetAgcConfig(AudioProcessing* apm);
@@ -25,8 +34,7 @@ void SetAgcConfig(AudioProcessing* apm,
const AgcConfig& config);
void SetAgcStatus(AudioProcessing* apm,
AudioDeviceModule* adm,
- bool enable,
- AgcModes mode);
+ bool enable);
void SetEcStatus(AudioProcessing* apm,
bool enable,
EcModes mode);
« no previous file with comments | « webrtc/common_types.h ('k') | webrtc/media/engine/apm_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698