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

Side by Side Diff: webrtc/modules/audio_processing/beamformer/beamformer.h

Issue 1244813003: Moved arrray_util include to beamformer.h (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_
13 13
14 #include "webrtc/common_audio/channel_buffer.h" 14 #include "webrtc/common_audio/channel_buffer.h"
15 #include "webrtc/modules/audio_processing/beamformer/array_util.h"
15 16
16 namespace webrtc { 17 namespace webrtc {
17 18
18 template<typename T> 19 template<typename T>
19 class Beamformer { 20 class Beamformer {
20 public: 21 public:
21 virtual ~Beamformer() {} 22 virtual ~Beamformer() {}
22 23
23 // Process one time-domain chunk of audio. The audio is expected to be split 24 // Process one time-domain chunk of audio. The audio is expected to be split
24 // into frequency bands inside the ChannelBuffer. The number of frames and 25 // into frequency bands inside the ChannelBuffer. The number of frames and
(...skipping 10 matching lines...) Expand all
35 virtual bool IsInBeam(const SphericalPointf& spherical_point) { return true; } 36 virtual bool IsInBeam(const SphericalPointf& spherical_point) { return true; }
36 37
37 // Returns true if the current data contains the target signal. 38 // Returns true if the current data contains the target signal.
38 // Which signals are considered "targets" is implementation dependent. 39 // Which signals are considered "targets" is implementation dependent.
39 virtual bool is_target_present() = 0; 40 virtual bool is_target_present() = 0;
40 }; 41 };
41 42
42 } // namespace webrtc 43 } // namespace webrtc
43 44
44 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_ 45 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_BEAMFORMER_BEAMFORMER_H_
OLDNEW
« 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