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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 int proc_sample_rate_hz() const override; | 107 int proc_sample_rate_hz() const override; |
108 int proc_split_sample_rate_hz() const override; | 108 int proc_split_sample_rate_hz() const override; |
109 size_t num_input_channels() const override; | 109 size_t num_input_channels() const override; |
110 size_t num_proc_channels() const override; | 110 size_t num_proc_channels() const override; |
111 size_t num_output_channels() const override; | 111 size_t num_output_channels() const override; |
112 size_t num_reverse_channels() const override; | 112 size_t num_reverse_channels() const override; |
113 int stream_delay_ms() const override; | 113 int stream_delay_ms() const override; |
114 bool was_stream_delay_set() const override | 114 bool was_stream_delay_set() const override |
115 EXCLUSIVE_LOCKS_REQUIRED(crit_capture_); | 115 EXCLUSIVE_LOCKS_REQUIRED(crit_capture_); |
116 | 116 |
| 117 AudioProcessingStatistics GetStatistics() const override; |
| 118 |
117 // Methods returning pointers to APM submodules. | 119 // Methods returning pointers to APM submodules. |
118 // No locks are aquired in those, as those locks | 120 // No locks are aquired in those, as those locks |
119 // would offer no protection (the submodules are | 121 // would offer no protection (the submodules are |
120 // created only once in a single-treaded manner | 122 // created only once in a single-treaded manner |
121 // during APM creation). | 123 // during APM creation). |
122 EchoCancellation* echo_cancellation() const override; | 124 EchoCancellation* echo_cancellation() const override; |
123 EchoControlMobile* echo_control_mobile() const override; | 125 EchoControlMobile* echo_control_mobile() const override; |
124 GainControl* gain_control() const override; | 126 GainControl* gain_control() const override; |
125 HighPassFilter* high_pass_filter() const override; | 127 HighPassFilter* high_pass_filter() const override; |
126 LevelEstimator* level_estimator() const override; | 128 LevelEstimator* level_estimator() const override; |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 ApmRenderState(); | 362 ApmRenderState(); |
361 ~ApmRenderState(); | 363 ~ApmRenderState(); |
362 std::unique_ptr<AudioConverter> render_converter; | 364 std::unique_ptr<AudioConverter> render_converter; |
363 std::unique_ptr<AudioBuffer> render_audio; | 365 std::unique_ptr<AudioBuffer> render_audio; |
364 } render_ GUARDED_BY(crit_render_); | 366 } render_ GUARDED_BY(crit_render_); |
365 }; | 367 }; |
366 | 368 |
367 } // namespace webrtc | 369 } // namespace webrtc |
368 | 370 |
369 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 371 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
OLD | NEW |