aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_processing/processing_component.h
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-07-25 18:28:29 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-07-25 18:28:29 +0000
commit61e596fc49443971219aa3989b200407d919f6c5 (patch)
treeea446c6e6bce0e4ea76c1c76c2b34f082583f2a6 /webrtc/modules/audio_processing/processing_component.h
parentc46967dc53a5f54e0126ba0fe5fdeafd9b584a38 (diff)
downloadwebrtc-61e596fc49443971219aa3989b200407d919f6c5.tar.gz
Add a Config class interface to AudioProcessing for passing options.
Pass the Config down to all AudioProcessing components. Also add an EchoCancellationImplWrapper to optionally create different EchoCancellationImpls. BUG=2117 TBR=turaj@webrtc.org TESTED=git try Review URL: https://webrtc-codereview.appspot.com/1843004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4400 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_processing/processing_component.h')
-rw-r--r--webrtc/modules/audio_processing/processing_component.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webrtc/modules/audio_processing/processing_component.h b/webrtc/modules/audio_processing/processing_component.h
index f1f367e23d..a5ee1859ee 100644
--- a/webrtc/modules/audio_processing/processing_component.h
+++ b/webrtc/modules/audio_processing/processing_component.h
@@ -16,14 +16,17 @@
#include "webrtc/modules/audio_processing/include/audio_processing.h"
namespace webrtc {
+
class AudioProcessingImpl;
class ProcessingComponent {
public:
+ ProcessingComponent() {}
explicit ProcessingComponent(const AudioProcessingImpl* apm);
virtual ~ProcessingComponent();
virtual int Initialize();
+ virtual void SetExtraOptions(const Config& config) {}
virtual int Destroy();
bool is_component_enabled() const;
@@ -48,6 +51,7 @@ class ProcessingComponent {
bool enabled_;
int num_handles_;
};
+
} // namespace webrtc
#endif // WEBRTC_MODULES_AUDIO_PROCESSING_PROCESSING_COMPONENT_H__