Chromium Code Reviews| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 int ProcessReverseStream(const float* const* src, | 95 int ProcessReverseStream(const float* const* src, |
| 96 const StreamConfig& reverse_input_config, | 96 const StreamConfig& reverse_input_config, |
| 97 const StreamConfig& reverse_output_config, | 97 const StreamConfig& reverse_output_config, |
| 98 float* const* dest) override; | 98 float* const* dest) override; |
| 99 int set_stream_delay_ms(int delay) override; | 99 int set_stream_delay_ms(int delay) override; |
| 100 int stream_delay_ms() const override; | 100 int stream_delay_ms() const override; |
| 101 bool was_stream_delay_set() const override; | 101 bool was_stream_delay_set() const override; |
| 102 void set_delay_offset_ms(int offset) override; | 102 void set_delay_offset_ms(int offset) override; |
| 103 int delay_offset_ms() const override; | 103 int delay_offset_ms() const override; |
| 104 void set_stream_key_pressed(bool key_pressed) override; | 104 void set_stream_key_pressed(bool key_pressed) override; |
| 105 int StartDebugRecording(const char filename[kMaxFilenameSize]) override; | 105 int StartDebugRecording(const char filename[kMaxFilenameSize], |
| 106 int StartDebugRecording(FILE* handle) override; | 106 int64_t max_log_size_bytes) override; |
| 107 int StartDebugRecording(FILE* handle, int64_t max_log_size_bytes) override; | |
| 107 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override; | 108 int StartDebugRecordingForPlatformFile(rtc::PlatformFile handle) override; |
| 108 int StopDebugRecording() override; | 109 int StopDebugRecording() override; |
| 109 void UpdateHistogramsOnCallEnd() override; | 110 void UpdateHistogramsOnCallEnd() override; |
| 110 EchoCancellation* echo_cancellation() const override; | 111 EchoCancellation* echo_cancellation() const override; |
| 111 EchoControlMobile* echo_control_mobile() const override; | 112 EchoControlMobile* echo_control_mobile() const override; |
| 112 GainControl* gain_control() const override; | 113 GainControl* gain_control() const override; |
| 113 HighPassFilter* high_pass_filter() const override; | 114 HighPassFilter* high_pass_filter() const override; |
| 114 LevelEstimator* level_estimator() const override; | 115 LevelEstimator* level_estimator() const override; |
| 115 NoiseSuppression* noise_suppression() const override; | 116 NoiseSuppression* noise_suppression() const override; |
| 116 VoiceDetection* voice_detection() const override; | 117 VoiceDetection* voice_detection() const override; |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 167 // it is different from the last saved one; if |forced|, writes the config | 168 // it is different from the last saved one; if |forced|, writes the config |
| 168 // regardless of the last saved. | 169 // regardless of the last saved. |
| 169 int WriteConfigMessage(bool forced); | 170 int WriteConfigMessage(bool forced); |
| 170 | 171 |
| 171 rtc::scoped_ptr<FileWrapper> debug_file_; | 172 rtc::scoped_ptr<FileWrapper> debug_file_; |
| 172 rtc::scoped_ptr<audioproc::Event> event_msg_; // Protobuf message. | 173 rtc::scoped_ptr<audioproc::Event> event_msg_; // Protobuf message. |
| 173 std::string event_str_; // Memory for protobuf serialization. | 174 std::string event_str_; // Memory for protobuf serialization. |
| 174 | 175 |
| 175 // Serialized string of last saved APM configuration. | 176 // Serialized string of last saved APM configuration. |
| 176 std::string last_serialized_config_; | 177 std::string last_serialized_config_; |
| 178 | |
| 179 // Number of bytes that can still be written to the log before the maximum | |
| 180 // size is reached. A value of <= 0 indicates that no limit is used. | |
| 181 int64_t nr_bytes_left_for_log; | |
|
hlundin-webrtc
2015/11/11 15:55:05
Trailing underscore on member variable names.
ivoc
2015/11/11 16:44:31
Right, fixed.
| |
| 177 #endif | 182 #endif |
| 178 | 183 |
| 179 // Format of processing streams at input/output call sites. | 184 // Format of processing streams at input/output call sites. |
| 180 ProcessingConfig api_format_; | 185 ProcessingConfig api_format_; |
| 181 | 186 |
| 182 // Only the rate and samples fields of fwd_proc_format_ are used because the | 187 // Only the rate and samples fields of fwd_proc_format_ are used because the |
| 183 // forward processing number of channels is mutable and is tracked by the | 188 // forward processing number of channels is mutable and is tracked by the |
| 184 // capture_audio_. | 189 // capture_audio_. |
| 185 StreamConfig fwd_proc_format_; | 190 StreamConfig fwd_proc_format_; |
| 186 StreamConfig rev_proc_format_; | 191 StreamConfig rev_proc_format_; |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 209 rtc::scoped_ptr<Beamformer<float>> beamformer_; | 214 rtc::scoped_ptr<Beamformer<float>> beamformer_; |
| 210 const std::vector<Point> array_geometry_; | 215 const std::vector<Point> array_geometry_; |
| 211 | 216 |
| 212 bool intelligibility_enabled_; | 217 bool intelligibility_enabled_; |
| 213 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_; | 218 rtc::scoped_ptr<IntelligibilityEnhancer> intelligibility_enhancer_; |
| 214 }; | 219 }; |
| 215 | 220 |
| 216 } // namespace webrtc | 221 } // namespace webrtc |
| 217 | 222 |
| 218 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ | 223 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AUDIO_PROCESSING_IMPL_H_ |
| OLD | NEW |