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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // a missing packet. Occasionally, NetEq might decide to decode more | 392 // a missing packet. Occasionally, NetEq might decide to decode more |
393 // than one packet. Therefore, these values store sequence number and | 393 // than one packet. Therefore, these values store sequence number and |
394 // timestamp of the first packet pulled from the packet buffer. In | 394 // timestamp of the first packet pulled from the packet buffer. In |
395 // such cases, these values do not exactly represent the sequence number | 395 // such cases, these values do not exactly represent the sequence number |
396 // or timestamp associated with a 10ms audio pulled from NetEq. NACK | 396 // or timestamp associated with a 10ms audio pulled from NetEq. NACK |
397 // module is designed to compensate for this. | 397 // module is designed to compensate for this. |
398 int decoded_packet_sequence_number_ GUARDED_BY(crit_sect_); | 398 int decoded_packet_sequence_number_ GUARDED_BY(crit_sect_); |
399 uint32_t decoded_packet_timestamp_ GUARDED_BY(crit_sect_); | 399 uint32_t decoded_packet_timestamp_ GUARDED_BY(crit_sect_); |
400 | 400 |
401 private: | 401 private: |
402 DISALLOW_COPY_AND_ASSIGN(NetEqImpl); | 402 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); |
403 }; | 403 }; |
404 | 404 |
405 } // namespace webrtc | 405 } // namespace webrtc |
406 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ | 406 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ |
OLD | NEW |