OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 bool ReinitAfterExpands(uint32_t timestamp_leap) const; | 92 bool ReinitAfterExpands(uint32_t timestamp_leap) const; |
93 | 93 |
94 // Checks if we still have not done enough expands to cover the distance from | 94 // Checks if we still have not done enough expands to cover the distance from |
95 // the last decoded packet to the next available packet, the distance beeing | 95 // the last decoded packet to the next available packet, the distance beeing |
96 // conveyed in |timestamp_leap|. | 96 // conveyed in |timestamp_leap|. |
97 bool PacketTooEarly(uint32_t timestamp_leap) const; | 97 bool PacketTooEarly(uint32_t timestamp_leap) const; |
98 | 98 |
99 // Checks if num_consecutive_expands_ >= kMaxWaitForPacket. | 99 // Checks if num_consecutive_expands_ >= kMaxWaitForPacket. |
100 bool MaxWaitForPacket() const; | 100 bool MaxWaitForPacket() const; |
101 | 101 |
102 DISALLOW_COPY_AND_ASSIGN(DecisionLogicNormal); | 102 RTC_DISALLOW_COPY_AND_ASSIGN(DecisionLogicNormal); |
103 }; | 103 }; |
104 | 104 |
105 } // namespace webrtc | 105 } // namespace webrtc |
106 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_NORMAL_H_ | 106 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_DECISION_LOGIC_NORMAL_H_ |
OLD | NEW |