commit | ae643ce280876d3b1ebcf0cc628f27ba7116b534 | [log] [tgz] |
---|---|---|
author | aluebs@webrtc.org <aluebs@webrtc.org> | Fri Dec 19 19:57:34 2014 +0000 |
committer | aluebs@webrtc.org <aluebs@webrtc.org> | Fri Dec 19 19:57:34 2014 +0000 |
tree | 531615345911371bd06fec9eefcaddb07df12706 | |
parent | 8817256373838acc2889ccbd367260bb8c909321 [diff] [blame] |
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/include/audio_processing.h b/webrtc/modules/audio_processing/include/audio_processing.h index 1cca0ed..79340ae 100644 --- a/webrtc/modules/audio_processing/include/audio_processing.h +++ b/webrtc/modules/audio_processing/include/audio_processing.h
@@ -82,6 +82,14 @@ bool enabled; }; +// Use to enable beamforming. Must be provided through the constructor. It will +// have no impact if used with AudioProcessing::SetExtraOptions(). +struct Beamforming { + Beamforming() : enabled(false) {} + explicit Beamforming(bool enabled) : enabled(enabled) {} + bool enabled; +}; + static const int kAudioProcMaxNativeSampleRateHz = 32000; // The Audio Processing Module (APM) provides a collection of voice processing