OLD | NEW |
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" | |
23 #include "webrtc/base/platform_file.h" | |
24 #include "webrtc/base/refcount.h" | |
25 #include "webrtc/modules/audio_processing/beamformer/array_util.h" | 22 #include "webrtc/modules/audio_processing/beamformer/array_util.h" |
26 #include "webrtc/modules/audio_processing/include/config.h" | 23 #include "webrtc/modules/audio_processing/include/config.h" |
| 24 #include "webrtc/rtc_base/arraysize.h" |
| 25 #include "webrtc/rtc_base/platform_file.h" |
| 26 #include "webrtc/rtc_base/refcount.h" |
27 #include "webrtc/typedefs.h" | 27 #include "webrtc/typedefs.h" |
28 | 28 |
29 namespace webrtc { | 29 namespace webrtc { |
30 | 30 |
31 struct AecCore; | 31 struct AecCore; |
32 | 32 |
33 class AecDump; | 33 class AecDump; |
34 class AudioFrame; | 34 class AudioFrame; |
35 | 35 |
36 class NonlinearBeamformer; | 36 class NonlinearBeamformer; |
(...skipping 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1099 // This does not impact the size of frames passed to |ProcessStream()|. | 1099 // This does not impact the size of frames passed to |ProcessStream()|. |
1100 virtual int set_frame_size_ms(int size) = 0; | 1100 virtual int set_frame_size_ms(int size) = 0; |
1101 virtual int frame_size_ms() const = 0; | 1101 virtual int frame_size_ms() const = 0; |
1102 | 1102 |
1103 protected: | 1103 protected: |
1104 virtual ~VoiceDetection() {} | 1104 virtual ~VoiceDetection() {} |
1105 }; | 1105 }; |
1106 } // namespace webrtc | 1106 } // namespace webrtc |
1107 | 1107 |
1108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ | 1108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ |
OLD | NEW |