Wire up Beamformer in AudioProcessing
R=andrew@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/38449004
git-svn-id: http://webrtc.googlecode.com/svn/trunk@7969 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.h b/webrtc/modules/audio_processing/audio_processing_impl.h
index be70273..152d64c 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.h
+++ b/webrtc/modules/audio_processing/audio_processing_impl.h
@@ -23,6 +23,7 @@
class AgcManagerDirect;
class AudioBuffer;
+class Beamformer;
class CriticalSectionWrapper;
class EchoCancellationImpl;
class EchoControlMobileImpl;
@@ -168,6 +169,7 @@
bool analysis_needed(bool is_data_processed) const;
int InitializeExperimentalAgc() EXCLUSIVE_LOCKS_REQUIRED(crit_);
int InitializeTransient() EXCLUSIVE_LOCKS_REQUIRED(crit_);
+ void InitializeBeamformer() EXCLUSIVE_LOCKS_REQUIRED(crit_);
EchoCancellationImpl* echo_cancellation_;
EchoControlMobileImpl* echo_control_mobile_;
@@ -215,6 +217,8 @@
bool transient_suppressor_enabled_;
scoped_ptr<TransientSuppressor> transient_suppressor_;
+ const bool beamformer_enabled_;
+ scoped_ptr<Beamformer> beamformer_;
};
} // namespace webrtc