Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.h

Issue 1316523002: Convert channel counts to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix compile Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 18 matching lines...) Expand all
29 RtpAudioFeedback* incoming_audio_messages_callback, 29 RtpAudioFeedback* incoming_audio_messages_callback,
30 RtpFeedback* incoming_messages_callback, 30 RtpFeedback* incoming_messages_callback,
31 RTPPayloadRegistry* rtp_payload_registry, 31 RTPPayloadRegistry* rtp_payload_registry,
32 RTPReceiverStrategy* rtp_media_receiver); 32 RTPReceiverStrategy* rtp_media_receiver);
33 33
34 virtual ~RtpReceiverImpl(); 34 virtual ~RtpReceiverImpl();
35 35
36 int32_t RegisterReceivePayload(const char payload_name[RTP_PAYLOAD_NAME_SIZE], 36 int32_t RegisterReceivePayload(const char payload_name[RTP_PAYLOAD_NAME_SIZE],
37 const int8_t payload_type, 37 const int8_t payload_type,
38 const uint32_t frequency, 38 const uint32_t frequency,
39 const uint8_t channels, 39 const size_t channels,
40 const uint32_t rate) override; 40 const uint32_t rate) override;
41 41
42 int32_t DeRegisterReceivePayload(const int8_t payload_type) override; 42 int32_t DeRegisterReceivePayload(const int8_t payload_type) override;
43 43
44 bool IncomingRtpPacket(const RTPHeader& rtp_header, 44 bool IncomingRtpPacket(const RTPHeader& rtp_header,
45 const uint8_t* payload, 45 const uint8_t* payload,
46 size_t payload_length, 46 size_t payload_length,
47 PayloadUnion payload_specific, 47 PayloadUnion payload_specific,
48 bool in_order) override; 48 bool in_order) override;
49 49
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 uint32_t current_remote_csrc_[kRtpCsrcSize]; 90 uint32_t current_remote_csrc_[kRtpCsrcSize];
91 91
92 uint32_t last_received_timestamp_; 92 uint32_t last_received_timestamp_;
93 int64_t last_received_frame_time_ms_; 93 int64_t last_received_frame_time_ms_;
94 uint16_t last_received_sequence_number_; 94 uint16_t last_received_sequence_number_;
95 95
96 NACKMethod nack_method_; 96 NACKMethod nack_method_;
97 }; 97 };
98 } // namespace webrtc 98 } // namespace webrtc
99 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_IMPL_H_ 99 #endif // WEBRTC_MODULES_RTP_RTCP_SOURCE_RTP_RECEIVER_IMPL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_payload_registry_unittest.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698