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>2014-02-27 22:23:17 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-02-27 22:23:17 +0000
commit56e4a05053d6addc7dbbe2b4d07271305fdbea75 (patch)
treeceeed69f575a8286ebeddc2dfa9a77cfa026efb7 /webrtc/modules/audio_processing/processing_component.h
parent806768a6ca82ed0a38ec95cc9c11531bc7d3f033 (diff)
downloadwebrtc-56e4a05053d6addc7dbbe2b4d07271305fdbea75.tar.gz
Remove ProcessingComponent's dependence on AudioProcessingImpl.
- Move needed accessors to AudioProcessing. - Inject the crit directly as a dependency. - Remove the now unneeded EchoCancellationImplWrapper. BUG=2894 R=aluebs@webrtc.org Review URL: https://webrtc-codereview.appspot.com/9199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5620 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'webrtc/modules/audio_processing/processing_component.h')
-rw-r--r--webrtc/modules/audio_processing/processing_component.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/webrtc/modules/audio_processing/processing_component.h b/webrtc/modules/audio_processing/processing_component.h
index c090d22245..27400998e6 100644
--- a/webrtc/modules/audio_processing/processing_component.h
+++ b/webrtc/modules/audio_processing/processing_component.h
@@ -13,16 +13,13 @@
#include <vector>
-#include "webrtc/modules/audio_processing/include/audio_processing.h"
+#include "webrtc/common.h"
namespace webrtc {
-class AudioProcessingImpl;
-
class ProcessingComponent {
public:
ProcessingComponent();
- explicit ProcessingComponent(const AudioProcessingImpl* apm);
virtual ~ProcessingComponent();
virtual int Initialize();
@@ -45,7 +42,6 @@ class ProcessingComponent {
virtual int num_handles_required() const = 0;
virtual int GetHandleError(void* handle) const = 0;
- const AudioProcessingImpl* apm_;
std::vector<void*> handles_;
bool initialized_;
bool enabled_;