Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc

Issue 2129663002: Remove unused NonlinearBeamformer interface (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698