| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). | 380 // Statistics for calls to AudioCodingModule::PlayoutData10Ms(). |
| 381 struct AudioDecodingCallStats { | 381 struct AudioDecodingCallStats { |
| 382 AudioDecodingCallStats() | 382 AudioDecodingCallStats() |
| 383 : calls_to_silence_generator(0), | 383 : calls_to_silence_generator(0), |
| 384 calls_to_neteq(0), | 384 calls_to_neteq(0), |
| 385 decoded_normal(0), | 385 decoded_normal(0), |
| 386 decoded_plc(0), | 386 decoded_plc(0), |
| 387 decoded_cng(0), | 387 decoded_cng(0), |
| 388 decoded_plc_cng(0) {} | 388 decoded_plc_cng(0), |
| 389 decoded_muted_output(0) {} |
| 389 | 390 |
| 390 int calls_to_silence_generator; // Number of calls where silence generated, | 391 int calls_to_silence_generator; // Number of calls where silence generated, |
| 391 // and NetEq was disengaged from decoding. | 392 // and NetEq was disengaged from decoding. |
| 392 int calls_to_neteq; // Number of calls to NetEq. | 393 int calls_to_neteq; // Number of calls to NetEq. |
| 393 int decoded_normal; // Number of calls where audio RTP packet decoded. | 394 int decoded_normal; // Number of calls where audio RTP packet decoded. |
| 394 int decoded_plc; // Number of calls resulted in PLC. | 395 int decoded_plc; // Number of calls resulted in PLC. |
| 395 int decoded_cng; // Number of calls where comfort noise generated due to DTX. | 396 int decoded_cng; // Number of calls where comfort noise generated due to DTX. |
| 396 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. | 397 int decoded_plc_cng; // Number of calls resulted where PLC faded to CNG. |
| 398 int decoded_muted_output; // Number of calls returning a muted state output. |
| 397 }; | 399 }; |
| 398 | 400 |
| 399 // Type of Noise Suppression. | 401 // Type of Noise Suppression. |
| 400 enum NsModes { | 402 enum NsModes { |
| 401 kNsUnchanged = 0, // previously set mode | 403 kNsUnchanged = 0, // previously set mode |
| 402 kNsDefault, // platform default | 404 kNsDefault, // platform default |
| 403 kNsConference, // conferencing default | 405 kNsConference, // conferencing default |
| 404 kNsLowSuppression, // lowest suppression | 406 kNsLowSuppression, // lowest suppression |
| 405 kNsModerateSuppression, | 407 kNsModerateSuppression, |
| 406 kNsHighSuppression, | 408 kNsHighSuppression, |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 enum class RtcpMode { kOff, kCompound, kReducedSize }; | 821 enum class RtcpMode { kOff, kCompound, kReducedSize }; |
| 820 | 822 |
| 821 enum NetworkState { | 823 enum NetworkState { |
| 822 kNetworkUp, | 824 kNetworkUp, |
| 823 kNetworkDown, | 825 kNetworkDown, |
| 824 }; | 826 }; |
| 825 | 827 |
| 826 } // namespace webrtc | 828 } // namespace webrtc |
| 827 | 829 |
| 828 #endif // WEBRTC_COMMON_TYPES_H_ | 830 #endif // WEBRTC_COMMON_TYPES_H_ |
| OLD | NEW |