Chromium Code Reviews

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

Issue 1766663002: Added namespaces in the newly C++ified AEC code (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with latest master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « webrtc/modules/audio_processing/aec/system_delay_unittest.cc ('k') | no next file » | 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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_INCLUDE_AUDIO_PROCESSING_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
13 13
14 // MSVC++ requires this to be set before any other includes to get M_PI. 14 // MSVC++ requires this to be set before any other includes to get M_PI.
15 #define _USE_MATH_DEFINES 15 #define _USE_MATH_DEFINES
16 16
17 #include <math.h> 17 #include <math.h>
18 #include <stddef.h> // size_t 18 #include <stddef.h> // size_t
19 #include <stdio.h> // FILE 19 #include <stdio.h> // FILE
20 #include <vector> 20 #include <vector>
21 21
22 #include "webrtc/base/arraysize.h" 22 #include "webrtc/base/arraysize.h"
23 #include "webrtc/base/platform_file.h" 23 #include "webrtc/base/platform_file.h"
24 #include "webrtc/common.h" 24 #include "webrtc/common.h"
25 #include "webrtc/modules/audio_processing/beamformer/array_util.h" 25 #include "webrtc/modules/audio_processing/beamformer/array_util.h"
26 #include "webrtc/typedefs.h" 26 #include "webrtc/typedefs.h"
27 27
28 namespace webrtc {
29
28 struct AecCore; 30 struct AecCore;
29 31
30 namespace webrtc {
31
32 class AudioFrame; 32 class AudioFrame;
33 33
34 template<typename T> 34 template<typename T>
35 class Beamformer; 35 class Beamformer;
36 36
37 class StreamConfig; 37 class StreamConfig;
38 class ProcessingConfig; 38 class ProcessingConfig;
39 39
40 class EchoCancellation; 40 class EchoCancellation;
41 class EchoControlMobile; 41 class EchoControlMobile;
(...skipping 936 matching lines...)
978 // This does not impact the size of frames passed to |ProcessStream()|. 978 // This does not impact the size of frames passed to |ProcessStream()|.
979 virtual int set_frame_size_ms(int size) = 0; 979 virtual int set_frame_size_ms(int size) = 0;
980 virtual int frame_size_ms() const = 0; 980 virtual int frame_size_ms() const = 0;
981 981
982 protected: 982 protected:
983 virtual ~VoiceDetection() {} 983 virtual ~VoiceDetection() {}
984 }; 984 };
985 } // namespace webrtc 985 } // namespace webrtc
986 986
987 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ 987 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec/system_delay_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine