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
This commit is contained in:
aluebs@webrtc.org
2014-12-19 19:57:34 +00:00
parent 8817256373
commit ae643ce280
4 changed files with 57 additions and 4 deletions

View File

@ -23,6 +23,7 @@ namespace webrtc {
class AgcManagerDirect;
class AudioBuffer;
class Beamformer;
class CriticalSectionWrapper;
class EchoCancellationImpl;
class EchoControlMobileImpl;
@ -168,6 +169,7 @@ class AudioProcessingImpl : public AudioProcessing {
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 @@ class AudioProcessingImpl : public AudioProcessing {
bool transient_suppressor_enabled_;
scoped_ptr<TransientSuppressor> transient_suppressor_;
const bool beamformer_enabled_;
scoped_ptr<Beamformer> beamformer_;
};
} // namespace webrtc