OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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_AGC_AGC_MANAGER_DIRECT_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_MANAGER_DIRECT_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_MANAGER_DIRECT_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_MANAGER_DIRECT_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/base/constructormagic.h" | |
17 #include "webrtc/modules/audio_processing/agc/agc.h" | 16 #include "webrtc/modules/audio_processing/agc/agc.h" |
| 17 #include "webrtc/rtc_base/constructormagic.h" |
18 | 18 |
19 namespace webrtc { | 19 namespace webrtc { |
20 | 20 |
21 class AudioFrame; | 21 class AudioFrame; |
22 class DebugFile; | 22 class DebugFile; |
23 class GainControl; | 23 class GainControl; |
24 | 24 |
25 // Callbacks that need to be injected into AgcManagerDirect to read and control | 25 // Callbacks that need to be injected into AgcManagerDirect to read and control |
26 // the volume values. This is done to remove the VoiceEngine dependency in | 26 // the volume values. This is done to remove the VoiceEngine dependency in |
27 // AgcManagerDirect. | 27 // AgcManagerDirect. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 std::unique_ptr<DebugFile> file_preproc_; | 105 std::unique_ptr<DebugFile> file_preproc_; |
106 std::unique_ptr<DebugFile> file_postproc_; | 106 std::unique_ptr<DebugFile> file_postproc_; |
107 | 107 |
108 RTC_DISALLOW_COPY_AND_ASSIGN(AgcManagerDirect); | 108 RTC_DISALLOW_COPY_AND_ASSIGN(AgcManagerDirect); |
109 }; | 109 }; |
110 | 110 |
111 } // namespace webrtc | 111 } // namespace webrtc |
112 | 112 |
113 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_MANAGER_DIRECT_H_ | 113 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AGC_AGC_MANAGER_DIRECT_H_ |
OLD | NEW |