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 bfb65c0f7704867b9d5e291866a73b14579bc2ed..5d9d32a80d1e293ae951d97e5a647c5ff87d004e 100644 |
--- a/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
+++ b/webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc |
@@ -222,6 +222,8 @@ NonlinearBeamformer::NonlinearBeamformer( |
WindowGenerator::KaiserBesselDerived(kKbdAlpha, kFftSize, window_); |
} |
+NonlinearBeamformer::~NonlinearBeamformer() = default; |
+ |
void NonlinearBeamformer::Initialize(int chunk_size_ms, int sample_rate_hz) { |
chunk_length_ = |
static_cast<size_t>(sample_rate_hz / (1000.f / chunk_size_ms)); |
@@ -438,6 +440,8 @@ bool NonlinearBeamformer::IsInBeam(const SphericalPointf& spherical_point) { |
kHalfBeamWidthRadians; |
} |
+bool NonlinearBeamformer::is_target_present() { return is_target_present_; } |
+ |
void NonlinearBeamformer::ProcessAudioBlock(const complex_f* const* input, |
size_t num_input_channels, |
size_t num_freq_bins, |