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

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

Issue 2458993002: Reland of New statistics interface for APM (Closed)
Patch Set: Added implementation of the new non-pure interface function. Created 4 years, 1 month 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 | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int proc_sample_rate_hz() const override; 109 int proc_sample_rate_hz() const override;
110 int proc_split_sample_rate_hz() const override; 110 int proc_split_sample_rate_hz() const override;
111 size_t num_input_channels() const override; 111 size_t num_input_channels() const override;
112 size_t num_proc_channels() const override; 112 size_t num_proc_channels() const override;
113 size_t num_output_channels() const override; 113 size_t num_output_channels() const override;
114 size_t num_reverse_channels() const override; 114 size_t num_reverse_channels() const override;
115 int stream_delay_ms() const override; 115 int stream_delay_ms() const override;
116 bool was_stream_delay_set() const override 116 bool was_stream_delay_set() const override
117 EXCLUSIVE_LOCKS_REQUIRED(crit_capture_); 117 EXCLUSIVE_LOCKS_REQUIRED(crit_capture_);
118 118
119 AudioProcessingStatistics GetStatistics() const override;
120
119 // Methods returning pointers to APM submodules. 121 // Methods returning pointers to APM submodules.
120 // No locks are aquired in those, as those locks 122 // No locks are aquired in those, as those locks
121 // would offer no protection (the submodules are 123 // would offer no protection (the submodules are
122 // created only once in a single-treaded manner 124 // created only once in a single-treaded manner
123 // during APM creation). 125 // during APM creation).
124 EchoCancellation* echo_cancellation() const override; 126 EchoCancellation* echo_cancellation() const override;
125 EchoControlMobile* echo_control_mobile() const override; 127 EchoControlMobile* echo_control_mobile() const override;
126 GainControl* gain_control() const override; 128 GainControl* gain_control() const override;
127 HighPassFilter* high_pass_filter() const override; 129 HighPassFilter* high_pass_filter() const override;
128 LevelEstimator* level_estimator() const override; 130 LevelEstimator* level_estimator() const override;
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 395 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
394 aecm_render_signal_queue_; 396 aecm_render_signal_queue_;
395 std::unique_ptr< 397 std::unique_ptr<
396 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>> 398 SwapQueue<std::vector<int16_t>, RenderQueueItemVerifier<int16_t>>>
397 agc_render_signal_queue_; 399 agc_render_signal_queue_;
398 }; 400 };
399 401
400 } // namespace webrtc 402 } // namespace webrtc
401 403
402 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ 404 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/audio_processing_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698