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..2e450c2fe25fb3022870a9e0e93698eb02c840c8 100644 |
--- a/webrtc/modules/audio_processing/beamformer/beamformer.h |
+++ b/webrtc/modules/audio_processing/beamformer/beamformer.h |
@@ -20,6 +20,10 @@ class Beamformer { |
public: |
virtual ~Beamformer() {} |
+ |
+ |
+ |
+ |
aluebs-webrtc
2015/06/25 01:04:36
Remove these blank lines.
|
// Process one time-domain chunk of audio. The audio is expected to be split |
// into frequency bands inside the ChannelBuffer. The number of frames and |
// channels must correspond to the constructor parameters. The same |
@@ -31,6 +35,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. |
+ virtual bool IsInBeam(float azimuth) { return true; } |
aluebs-webrtc
2015/06/25 01:04:36
We decided to change this to Point, right?
|
+ |
// Returns true if the current data contains the target signal. |
// Which signals are considered "targets" is implementation dependent. |
virtual bool is_target_present() = 0; |