| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 stats.echo_return_loss_enhancement = | 326 stats.echo_return_loss_enhancement = |
| 327 audio_processing_stats.echo_return_loss_enhancement.instant(); | 327 audio_processing_stats.echo_return_loss_enhancement.instant(); |
| 328 stats.residual_echo_likelihood = | 328 stats.residual_echo_likelihood = |
| 329 audio_processing_stats.residual_echo_likelihood; | 329 audio_processing_stats.residual_echo_likelihood; |
| 330 stats.residual_echo_likelihood_recent_max = | 330 stats.residual_echo_likelihood_recent_max = |
| 331 audio_processing_stats.residual_echo_likelihood_recent_max; | 331 audio_processing_stats.residual_echo_likelihood_recent_max; |
| 332 | 332 |
| 333 internal::AudioState* audio_state = | 333 internal::AudioState* audio_state = |
| 334 static_cast<internal::AudioState*>(audio_state_.get()); | 334 static_cast<internal::AudioState*>(audio_state_.get()); |
| 335 stats.typing_noise_detected = audio_state->typing_noise_detected(); | 335 stats.typing_noise_detected = audio_state->typing_noise_detected(); |
| 336 stats.ana_statistics = channel_proxy_->GetANAStatistics(); |
| 336 | 337 |
| 337 return stats; | 338 return stats; |
| 338 } | 339 } |
| 339 | 340 |
| 340 void AudioSendStream::SignalNetworkState(NetworkState state) { | 341 void AudioSendStream::SignalNetworkState(NetworkState state) { |
| 341 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); | 342 RTC_DCHECK(worker_thread_checker_.CalledOnValidThread()); |
| 342 } | 343 } |
| 343 | 344 |
| 344 bool AudioSendStream::DeliverRtcp(const uint8_t* packet, size_t length) { | 345 bool AudioSendStream::DeliverRtcp(const uint8_t* packet, size_t length) { |
| 345 // TODO(solenberg): Tests call this function on a network thread, libjingle | 346 // TODO(solenberg): Tests call this function on a network thread, libjingle |
| (...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 649 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { | 650 if (rtp_rtcp_module_->RegisterSendPayload(codec) != 0) { |
| 650 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " | 651 LOG(LS_ERROR) << "RegisterCngPayloadType() failed to register CN to " |
| 651 "RTP/RTCP module"; | 652 "RTP/RTCP module"; |
| 652 } | 653 } |
| 653 } | 654 } |
| 654 } | 655 } |
| 655 | 656 |
| 656 | 657 |
| 657 } // namespace internal | 658 } // namespace internal |
| 658 } // namespace webrtc | 659 } // namespace webrtc |
| OLD | NEW |