Adding back removed methods to MockNonlinearBeamformer.
This is temporary, until downstream dependencies are updated. TBR=aluebs@webrtc.org Review-Url: https://codereview.webrtc.org/2121553002 Cr-Commit-Position: refs/heads/master@{#13374}
This commit is contained in:
parent
a441da4127
commit
bb01781982
@ -24,7 +24,13 @@ class MockNonlinearBeamformer : public NonlinearBeamformer {
|
||||
size_t num_postfilter_channels)
|
||||
: NonlinearBeamformer(array_geometry, num_postfilter_channels) {}
|
||||
|
||||
MockNonlinearBeamformer(const std::vector<Point>& array_geometry)
|
||||
: NonlinearBeamformer(array_geometry, 1u) {}
|
||||
|
||||
MOCK_METHOD2(Initialize, void(int chunk_size_ms, int sample_rate_hz));
|
||||
// TODO(aluebs): Remove once the dependencies have moved to new API.
|
||||
MOCK_METHOD2(ProcessChunk, void(const ChannelBuffer<float>& data,
|
||||
ChannelBuffer<float>* output));
|
||||
MOCK_METHOD1(AnalyzeChunk, void(const ChannelBuffer<float>& data));
|
||||
MOCK_METHOD1(PostFilter, void(ChannelBuffer<float>* data));
|
||||
MOCK_METHOD1(IsInBeam, bool(const SphericalPointf& spherical_point));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user