Rename Beamformer to NonlinearBeamformer.
R=aluebs@webrtc.org Review URL: https://webrtc-codereview.appspot.com/42359004 Cr-Commit-Position: refs/heads/master@{#8710} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8710 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "webrtc/common_audio/resampler/include/push_resampler.h"
|
||||
#include "webrtc/common_audio/resampler/push_sinc_resampler.h"
|
||||
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
|
||||
#include "webrtc/modules/audio_processing/beamformer/mock_beamformer.h"
|
||||
#include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h"
|
||||
#include "webrtc/modules/audio_processing/common.h"
|
||||
#include "webrtc/modules/audio_processing/include/audio_processing.h"
|
||||
#include "webrtc/modules/audio_processing/test/test_utils.h"
|
||||
@ -1228,8 +1228,8 @@ TEST_F(ApmTest, AgcOnlyAdaptsWhenTargetSignalIsPresent) {
|
||||
geometry.push_back(webrtc::Point(0.f, 0.f, 0.f));
|
||||
geometry.push_back(webrtc::Point(0.05f, 0.f, 0.f));
|
||||
config.Set<Beamforming>(new Beamforming(true, geometry));
|
||||
testing::NiceMock<MockBeamformer>* beamformer =
|
||||
new testing::NiceMock<MockBeamformer>(geometry);
|
||||
testing::NiceMock<MockNonlinearBeamformer>* beamformer =
|
||||
new testing::NiceMock<MockNonlinearBeamformer>(geometry);
|
||||
rtc::scoped_ptr<AudioProcessing> apm(
|
||||
AudioProcessing::Create(config, beamformer));
|
||||
EXPECT_EQ(kNoErr, apm->gain_control()->Enable(true));
|
||||
|
||||
Reference in New Issue
Block a user