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_ECHO_CANCELLATION_IMPL_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
13 | 13 |
14 #include <memory> | 14 #include <memory> |
15 | 15 |
16 #include "webrtc/base/constructormagic.h" | 16 #include "webrtc/base/constructormagic.h" |
17 #include "webrtc/base/criticalsection.h" | 17 #include "webrtc/base/criticalsection.h" |
18 #include "webrtc/common_audio/swap_queue.h" | 18 #include "webrtc/common_audio/swap_queue.h" |
19 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 19 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
20 #include "webrtc/modules/audio_processing/processing_component.h" | 20 #include "webrtc/modules/audio_processing/render_queue_item_verifier.h" |
21 | 21 |
22 namespace webrtc { | 22 namespace webrtc { |
23 | 23 |
24 class AudioBuffer; | 24 class AudioBuffer; |
25 | 25 |
26 class EchoCancellationImpl : public EchoCancellation { | 26 class EchoCancellationImpl : public EchoCancellation { |
27 public: | 27 public: |
28 EchoCancellationImpl(const AudioProcessing* apm, | 28 EchoCancellationImpl(const AudioProcessing* apm, |
29 rtc::CriticalSection* crit_render, | 29 rtc::CriticalSection* crit_render, |
30 rtc::CriticalSection* crit_capture); | 30 rtc::CriticalSection* crit_capture); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 105 std::unique_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
106 render_signal_queue_; | 106 render_signal_queue_; |
107 | 107 |
108 std::vector<std::unique_ptr<Canceller>> cancellers_; | 108 std::vector<std::unique_ptr<Canceller>> cancellers_; |
109 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); | 109 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(EchoCancellationImpl); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace webrtc | 112 } // namespace webrtc |
113 | 113 |
114 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 114 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
OLD | NEW |