| 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 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 int* std, | 65 int* std, |
| 66 float* fraction_poor_delays) override; | 66 float* fraction_poor_delays) override; |
| 67 | 67 |
| 68 struct AecCore* aec_core() const override; | 68 struct AecCore* aec_core() const override; |
| 69 | 69 |
| 70 // ProcessingComponent implementation. | 70 // ProcessingComponent implementation. |
| 71 void* CreateHandle() const override; | 71 void* CreateHandle() const override; |
| 72 int InitializeHandle(void* handle) const override; | 72 int InitializeHandle(void* handle) const override; |
| 73 int ConfigureHandle(void* handle) const override; | 73 int ConfigureHandle(void* handle) const override; |
| 74 void DestroyHandle(void* handle) const override; | 74 void DestroyHandle(void* handle) const override; |
| 75 int num_handles_required() const override; | 75 size_t num_handles_required() const override; |
| 76 int GetHandleError(void* handle) const override; | 76 int GetHandleError(void* handle) const override; |
| 77 | 77 |
| 78 void AllocateRenderQueue(); | 78 void AllocateRenderQueue(); |
| 79 | 79 |
| 80 // Not guarded as its public API is thread safe. | 80 // Not guarded as its public API is thread safe. |
| 81 const AudioProcessing* apm_; | 81 const AudioProcessing* apm_; |
| 82 | 82 |
| 83 rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_); | 83 rtc::CriticalSection* const crit_render_ ACQUIRED_BEFORE(crit_capture_); |
| 84 rtc::CriticalSection* const crit_capture_; | 84 rtc::CriticalSection* const crit_capture_; |
| 85 | 85 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 99 std::vector<float> capture_queue_buffer_ GUARDED_BY(crit_capture_); | 99 std::vector<float> capture_queue_buffer_ GUARDED_BY(crit_capture_); |
| 100 | 100 |
| 101 // Lock protection not needed. | 101 // Lock protection not needed. |
| 102 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> | 102 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> |
| 103 render_signal_queue_; | 103 render_signal_queue_; |
| 104 }; | 104 }; |
| 105 | 105 |
| 106 } // namespace webrtc | 106 } // namespace webrtc |
| 107 | 107 |
| 108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ | 108 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ |
| OLD | NEW |