Move mock_nonlinear_beamformer to only be a header
R=andrew@webrtc.org Review URL: https://codereview.webrtc.org/1305303003 . Cr-Commit-Position: refs/heads/master@{#9781}
This commit is contained in:
@ -1,22 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h"
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
MockNonlinearBeamformer::MockNonlinearBeamformer(
|
||||
const std::vector<Point>& array_geometry)
|
||||
: NonlinearBeamformer(array_geometry) {
|
||||
}
|
||||
|
||||
} // namespace webrtc
|
||||
@ -20,7 +20,8 @@ namespace webrtc {
|
||||
|
||||
class MockNonlinearBeamformer : public NonlinearBeamformer {
|
||||
public:
|
||||
explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry);
|
||||
explicit MockNonlinearBeamformer(const std::vector<Point>& array_geometry)
|
||||
: NonlinearBeamformer(array_geometry) {}
|
||||
|
||||
MOCK_METHOD2(Initialize, void(int chunk_size_ms, int sample_rate_hz));
|
||||
MOCK_METHOD2(ProcessChunk, void(const ChannelBuffer<float>& input,
|
||||
|
||||
@ -167,7 +167,6 @@
|
||||
'audio_processing/beamformer/complex_matrix_unittest.cc',
|
||||
'audio_processing/beamformer/covariance_matrix_generator_unittest.cc',
|
||||
'audio_processing/beamformer/matrix_unittest.cc',
|
||||
'audio_processing/beamformer/mock_nonlinear_beamformer.cc',
|
||||
'audio_processing/beamformer/mock_nonlinear_beamformer.h',
|
||||
'audio_processing/echo_cancellation_impl_unittest.cc',
|
||||
'audio_processing/intelligibility/intelligibility_enhancer_unittest.cc',
|
||||
|
||||
Reference in New Issue
Block a user