| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 info.encoded_timestamp - info.redundant[i].encoded_timestamp); | 90 info.encoded_timestamp - info.redundant[i].encoded_timestamp); |
| 91 frag->fragmentationPlType[i] = info.redundant[i].payload_type; | 91 frag->fragmentationPlType[i] = info.redundant[i].payload_type; |
| 92 } | 92 } |
| 93 } | 93 } |
| 94 } // namespace | 94 } // namespace |
| 95 | 95 |
| 96 void AudioCodingModuleImpl::ChangeLogger::MaybeLog(int value) { | 96 void AudioCodingModuleImpl::ChangeLogger::MaybeLog(int value) { |
| 97 if (value != last_value_ || first_time_) { | 97 if (value != last_value_ || first_time_) { |
| 98 first_time_ = false; | 98 first_time_ = false; |
| 99 last_value_ = value; | 99 last_value_ = value; |
| 100 RTC_HISTOGRAM_COUNTS_100(histogram_name_, value); | 100 RTC_HISTOGRAM_COUNTS_SPARSE_100(histogram_name_, value); |
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 AudioCodingModuleImpl::AudioCodingModuleImpl( | 104 AudioCodingModuleImpl::AudioCodingModuleImpl( |
| 105 const AudioCodingModule::Config& config) | 105 const AudioCodingModule::Config& config) |
| 106 : acm_crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), | 106 : acm_crit_sect_(CriticalSectionWrapper::CreateCriticalSection()), |
| 107 id_(config.id), | 107 id_(config.id), |
| 108 expected_codec_ts_(0xD87F3F9F), | 108 expected_codec_ts_(0xD87F3F9F), |
| 109 expected_in_ts_(0xD87F3F9F), | 109 expected_in_ts_(0xD87F3F9F), |
| 110 receiver_(config), | 110 receiver_(config), |
| (...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 778 return receiver_.LeastRequiredDelayMs(); | 778 return receiver_.LeastRequiredDelayMs(); |
| 779 } | 779 } |
| 780 | 780 |
| 781 void AudioCodingModuleImpl::GetDecodingCallStatistics( | 781 void AudioCodingModuleImpl::GetDecodingCallStatistics( |
| 782 AudioDecodingCallStats* call_stats) const { | 782 AudioDecodingCallStats* call_stats) const { |
| 783 receiver_.GetDecodingCallStatistics(call_stats); | 783 receiver_.GetDecodingCallStatistics(call_stats); |
| 784 } | 784 } |
| 785 | 785 |
| 786 } // namespace acm2 | 786 } // namespace acm2 |
| 787 } // namespace webrtc | 787 } // namespace webrtc |
| OLD | NEW |