| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 int stream_delay_ms() const override; | 127 int stream_delay_ms() const override; |
| 128 bool was_stream_delay_set() const override; | 128 bool was_stream_delay_set() const override; |
| 129 void set_delay_offset_ms(int offset) override; | 129 void set_delay_offset_ms(int offset) override; |
| 130 int delay_offset_ms() const override; | 130 int delay_offset_ms() const override; |
| 131 void set_stream_key_pressed(bool key_pressed) override; | 131 void set_stream_key_pressed(bool key_pressed) override; |
| 132 bool stream_key_pressed() const override; | 132 bool stream_key_pressed() const override; |
| 133 int StartDebugRecording(const char filename[kMaxFilenameSize]) override; | 133 int StartDebugRecording(const char filename[kMaxFilenameSize]) override; |
| 134 int StartDebugRecording(FILE* handle) override; | 134 int StartDebugRecording(FILE* handle) override; |
| 135 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override; | 135 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override; |
| 136 int StopDebugRecording() override; | 136 int StopDebugRecording() override; |
| 137 void UpdateHistogramsOnCallEnd() override; |
| 137 EchoCancellation* echo_cancellation() const override; | 138 EchoCancellation* echo_cancellation() const override; |
| 138 EchoControlMobile* echo_control_mobile() const override; | 139 EchoControlMobile* echo_control_mobile() const override; |
| 139 GainControl* gain_control() const override; | 140 GainControl* gain_control() const override; |
| 140 HighPassFilter* high_pass_filter() const override; | 141 HighPassFilter* high_pass_filter() const override; |
| 141 LevelEstimator* level_estimator() const override; | 142 LevelEstimator* level_estimator() const override; |
| 142 NoiseSuppression* noise_suppression() const override; | 143 NoiseSuppression* noise_suppression() const override; |
| 143 VoiceDetection* voice_detection() const override; | 144 VoiceDetection* voice_detection() const override; |
| 144 | 145 |
| 145 protected: | 146 protected: |
| 146 // Overridden in a mock. | 147 // Overridden in a mock. |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 AudioFormat fwd_out_format_; | 204 AudioFormat fwd_out_format_; |
| 204 AudioFormat rev_in_format_; | 205 AudioFormat rev_in_format_; |
| 205 AudioFormat rev_proc_format_; | 206 AudioFormat rev_proc_format_; |
| 206 int split_rate_; | 207 int split_rate_; |
| 207 | 208 |
| 208 int stream_delay_ms_; | 209 int stream_delay_ms_; |
| 209 int delay_offset_ms_; | 210 int delay_offset_ms_; |
| 210 bool was_stream_delay_set_; | 211 bool was_stream_delay_set_; |
| 211 int last_stream_delay_ms_; | 212 int last_stream_delay_ms_; |
| 212 int last_aec_system_delay_ms_; | 213 int last_aec_system_delay_ms_; |
| 214 int stream_delay_jumps_; |
| 215 int aec_system_delay_jumps_; |
| 213 | 216 |
| 214 bool output_will_be_muted_ GUARDED_BY(crit_); | 217 bool output_will_be_muted_ GUARDED_BY(crit_); |
| 215 | 218 |
| 216 bool key_pressed_; | 219 bool key_pressed_; |
| 217 | 220 |
| 218 // Only set through the constructor's Config parameter. | 221 // Only set through the constructor's Config parameter. |
| 219 const bool use_new_agc_; | 222 const bool use_new_agc_; |
| 220 rtc::scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_); | 223 rtc::scoped_ptr<AgcManagerDirect> agc_manager_ GUARDED_BY(crit_); |
| 221 int agc_startup_min_volume_; | 224 int agc_startup_min_volume_; |
| 222 | 225 |
| 223 bool transient_suppressor_enabled_; | 226 bool transient_suppressor_enabled_; |
| 224 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_; | 227 rtc::scoped_ptr<TransientSuppressor> transient_suppressor_; |
| 225 const bool beamformer_enabled_; | 228 const bool beamformer_enabled_; |
| 226 rtc::scoped_ptr<Beamformer<float>> beamformer_; | 229 rtc::scoped_ptr<Beamformer<float>> beamformer_; |
| 227 const std::vector<Point> array_geometry_; | 230 const std::vector<Point> array_geometry_; |
| 228 | 231 |
| 229 const bool supports_48kHz_; | 232 const bool supports_48kHz_; |
| 230 }; | 233 }; |
| 231 | 234 |
| 232 } // namespace webrtc | 235 } // namespace webrtc |
| 233 | 236 |
| 234 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 237 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
| OLD | NEW |