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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 183 // delay values that potentially can break the EC. The values are aggregated | 183 // delay values that potentially can break the EC. The values are aggregated |
| 184 // over one second and the last updated metrics are returned. | 184 // over one second and the last updated metrics are returned. |
| 185 virtual int GetEcDelayMetrics(int& delay_median, | 185 virtual int GetEcDelayMetrics(int& delay_median, |
| 186 int& delay_std, | 186 int& delay_std, |
| 187 float& fraction_poor_delays) = 0; | 187 float& fraction_poor_delays) = 0; |
| 188 | 188 |
| 189 // Enables recording of Audio Processing (AP) debugging information. | 189 // Enables recording of Audio Processing (AP) debugging information. |
| 190 // The file can later be used for off-line analysis of the AP performance. | 190 // The file can later be used for off-line analysis of the AP performance. |
| 191 virtual int StartDebugRecording(const char* fileNameUTF8) = 0; | 191 virtual int StartDebugRecording(const char* fileNameUTF8) = 0; |
| 192 | 192 |
| 193 // Same as above but with a specified maximum file size in bytes. | |
| 194 virtual int StartDebugRecording(const char* fileNameUTF8, | |
|
Andrew MacDonald
2015/10/23 17:15:18
The preferred method now is to access the AudioPro
the sun
2015/10/26 10:37:20
Thanks Andrew; indeed we don't want to and don't h
ivoc
2015/11/05 13:14:46
I removed this function, should I remove the Start
| |
| 195 int max_size_bytes) = 0; | |
| 196 | |
| 193 // Same as above but sets and uses an existing file handle. Takes ownership | 197 // Same as above but sets and uses an existing file handle. Takes ownership |
| 194 // of |file_handle| and passes it on to the audio processing module. | 198 // of |file_handle| and passes it on to the audio processing module. |
| 195 virtual int StartDebugRecording(FILE* file_handle) = 0; | 199 virtual int StartDebugRecording(FILE* file_handle) = 0; |
| 196 | 200 |
| 201 // Same as above but with a specified maximum file size in bytes. | |
| 202 virtual int StartDebugRecording(FILE* file_handle, int max_size_bytes) = 0; | |
| 203 | |
| 197 // Disables recording of AP debugging information. | 204 // Disables recording of AP debugging information. |
| 198 virtual int StopDebugRecording() = 0; | 205 virtual int StopDebugRecording() = 0; |
| 199 | 206 |
| 200 // Enables or disables detection of disturbing keyboard typing. | 207 // Enables or disables detection of disturbing keyboard typing. |
| 201 // An error notification will be given as a callback upon detection. | 208 // An error notification will be given as a callback upon detection. |
| 202 virtual int SetTypingDetectionStatus(bool enable) = 0; | 209 virtual int SetTypingDetectionStatus(bool enable) = 0; |
| 203 | 210 |
| 204 // Gets the current typing detection status. | 211 // Gets the current typing detection status. |
| 205 virtual int GetTypingDetectionStatus(bool& enabled) = 0; | 212 virtual int GetTypingDetectionStatus(bool& enabled) = 0; |
| 206 | 213 |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 231 virtual bool IsStereoChannelSwappingEnabled() = 0; | 238 virtual bool IsStereoChannelSwappingEnabled() = 0; |
| 232 | 239 |
| 233 protected: | 240 protected: |
| 234 VoEAudioProcessing() {} | 241 VoEAudioProcessing() {} |
| 235 virtual ~VoEAudioProcessing() {} | 242 virtual ~VoEAudioProcessing() {} |
| 236 }; | 243 }; |
| 237 | 244 |
| 238 } // namespace webrtc | 245 } // namespace webrtc |
| 239 | 246 |
| 240 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_H | 247 #endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_H |
| OLD | NEW |