Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(372)

Side by Side Diff: webrtc/modules/audio_processing/echo_cancellation_impl.h

Issue 1422013002: Preparational work for an upcoming addition of a threadchecking scheme for APM (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@bundling_of_state_CL
Patch Set: Merge with master Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 int InitializeHandle(void* handle) const override; 70 int InitializeHandle(void* handle) const override;
71 int ConfigureHandle(void* handle) const override; 71 int ConfigureHandle(void* handle) const override;
72 void DestroyHandle(void* handle) const override; 72 void DestroyHandle(void* handle) const override;
73 int num_handles_required() const override; 73 int num_handles_required() const override;
74 int GetHandleError(void* handle) const override; 74 int GetHandleError(void* handle) const override;
75 75
76 void AllocateRenderQueue(); 76 void AllocateRenderQueue();
77 77
78 const AudioProcessing* apm_; 78 const AudioProcessing* apm_;
79 CriticalSectionWrapper* crit_; 79 CriticalSectionWrapper* crit_;
80
80 bool drift_compensation_enabled_; 81 bool drift_compensation_enabled_;
81 bool metrics_enabled_; 82 bool metrics_enabled_;
82 SuppressionLevel suppression_level_; 83 SuppressionLevel suppression_level_;
83 int stream_drift_samples_; 84 int stream_drift_samples_;
84 bool was_stream_drift_set_; 85 bool was_stream_drift_set_;
85 bool stream_has_echo_; 86 bool stream_has_echo_;
86 bool delay_logging_enabled_; 87 bool delay_logging_enabled_;
87 bool extended_filter_enabled_; 88 bool extended_filter_enabled_;
88 bool delay_agnostic_enabled_; 89 bool delay_agnostic_enabled_;
89 90
90 size_t render_queue_element_max_size_; 91 size_t render_queue_element_max_size_;
91 std::vector<float> render_queue_buffer_; 92 std::vector<float> render_queue_buffer_;
92 std::vector<float> capture_queue_buffer_; 93 std::vector<float> capture_queue_buffer_;
93 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>> 94 rtc::scoped_ptr<SwapQueue<std::vector<float>, RenderQueueItemVerifier<float>>>
94 render_signal_queue_; 95 render_signal_queue_;
95 }; 96 };
96 97
97 } // namespace webrtc 98 } // namespace webrtc
98 99
99 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_ 100 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_ECHO_CANCELLATION_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/audio_processing_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698