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

Unified Diff: webrtc/modules/audio_processing/beamformer/beamformer.h

Issue 1211613005: Adding method IsInBeam to beamformer class. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Changed SphericalPointf to reference Created 5 years, 6 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 | « no previous file | webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/beamformer/beamformer.h
diff --git a/webrtc/modules/audio_processing/beamformer/beamformer.h b/webrtc/modules/audio_processing/beamformer/beamformer.h
index 04cb659c6d346954e23feef5af5613cbfa4af5e3..7418401d6b163b7202b985f7f70993f5c812b137 100644
--- a/webrtc/modules/audio_processing/beamformer/beamformer.h
+++ b/webrtc/modules/audio_processing/beamformer/beamformer.h
@@ -31,6 +31,9 @@ class Beamformer {
// Needs to be called before the the Beamformer can be used.
virtual void Initialize(int chunk_size_ms, int sample_rate_hz) = 0;
+ // Indicates whether a given azimuth is inside of the beam.
Andrew MacDonald 2015/06/26 03:46:09 s/azimuth/point
bloch 2015/06/26 04:01:56 I changed "azimuth" to "point". Is this what you w
Andrew MacDonald 2015/06/26 04:40:06 Yep.
+ virtual bool IsInBeam(const SphericalPointf& spherical_point) { return true; }
+
// Returns true if the current data contains the target signal.
// Which signals are considered "targets" is implementation dependent.
virtual bool is_target_present() = 0;
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698