Index: webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
diff --git a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
index 5412fb5b1efe31017f472ee46d017390d75583bc..bfb65c0f7704867b9d5e291866a73b14579bc2ed 100644 |
--- a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
+++ b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
@@ -421,18 +421,6 @@ void NonlinearBeamformer::PostFilter(ChannelBuffer<float>* data) { |
} |
} |
-void NonlinearBeamformer::ProcessChunk(const ChannelBuffer<float>& input, |
- ChannelBuffer<float>* output) { |
- RTC_DCHECK_GT(output->num_channels(), 0u); |
- RTC_DCHECK_EQ(output->num_frames_per_band(), input.num_frames_per_band()); |
- AnalyzeChunk(input); |
- for (size_t i = 0u; i < input.num_bands(); ++i) { |
- std::memcpy(output->channels(i)[0], input.channels(i)[0], |
- sizeof(input.channels(0)[0][0]) * input.num_frames_per_band()); |
- } |
- PostFilter(output); |
-} |
- |
void NonlinearBeamformer::AimAt(const SphericalPointf& target_direction) { |
target_angle_radians_ = target_direction.azimuth(); |
InitHighFrequencyCorrectionRanges(); |