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_AUDIO_PROCESSING_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
13 | 13 |
14 #include <list> | 14 #include <list> |
15 #include <string> | 15 #include <string> |
16 #include <vector> | 16 #include <vector> |
17 | 17 |
18 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
19 #include "webrtc/base/thread_annotations.h" | 19 #include "webrtc/base/thread_annotations.h" |
20 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 20 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class AgcManagerDirect; | 24 class AgcManagerDirect; |
25 class AudioBuffer; | 25 class AudioBuffer; |
26 class AudioConverter; | 26 class AudioConverter; |
minyue-webrtc
2015/08/28 14:27:00
changes in this file are mainly due to rebase. Ple
| |
27 | 27 |
28 template<typename T> | 28 template<typename T> |
29 class Beamformer; | 29 class Beamformer; |
30 | 30 |
31 class CriticalSectionWrapper; | 31 class CriticalSectionWrapper; |
32 class EchoCancellationImpl; | 32 class EchoCancellationImpl; |
33 class EchoControlMobileImpl; | 33 class EchoControlMobileImpl; |
34 class FileWrapper; | 34 class FileWrapper; |
35 class GainControlImpl; | 35 class GainControlImpl; |
36 class GainControlForNewAgc; | 36 class GainControlForNewAgc; |
37 class HighPassFilterImpl; | 37 class HighPassFilterImpl; |
38 class LevelEstimatorImpl; | 38 class LevelEstimatorImpl; |
39 class NoiseSuppressionImpl; | 39 class NoiseSuppressionImpl; |
40 class ProcessingComponent; | 40 class ProcessingComponent; |
41 class RepetitionDetector; | |
41 class TransientSuppressor; | 42 class TransientSuppressor; |
42 class VoiceDetectionImpl; | 43 class VoiceDetectionImpl; |
43 class IntelligibilityEnhancer; | 44 class IntelligibilityEnhancer; |
44 | 45 |
45 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP | 46 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
46 namespace audioproc { | 47 namespace audioproc { |
47 | 48 |
48 class Event; | 49 class Event; |
49 | 50 |
50 } // namespace audioproc | 51 } // namespace audioproc |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
198 const bool use_new_agc_; | 199 const bool use_new_agc_; |
199 rtc::scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_); | 200 rtc::scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_); |
200 int agc_startup_min_volume_; | 201 int agc_startup_min_volume_; |
201 | 202 |
202 bool transient_suppressor_enabled_; | 203 bool transient_suppressor_enabled_; |
203 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_; | 204 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_; |
204 const bool beamformer_enabled_; | 205 const bool beamformer_enabled_; |
205 rtc::scoped_ptr<Beamformer<float>> beamformer_; | 206 rtc::scoped_ptr<Beamformer<float>> beamformer_; |
206 const std::vector<Point> array_geometry_; | 207 const std::vector<Point> array_geometry_; |
207 | 208 |
209 rtc::scoped_ptr<RepetitionDetector> repetition_detector_ GUARDED_BY(crit_); | |
208 bool intelligibility_enabled_; | 210 bool intelligibility_enabled_; |
209 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_; | 211 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_; |
210 }; | 212 }; |
211 | 213 |
212 } // namespace webrtc | 214 } // namespace webrtc |
213 | 215 |
214 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 216 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |