Index: webrtc/modules/audio_coding/neteq/neteq_impl.h |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.h b/webrtc/modules/audio_coding/neteq/neteq_impl.h |
index c001e53b81299344af030507e7e139cdee8828a5..60c846d619309226ed49be93078af1e144ad8ac8 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl.h |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl.h |
@@ -79,8 +79,7 @@ class NetEqImpl : public webrtc::NetEq { |
// the same tick rate as the RTP timestamp of the current payload. |
// Returns 0 on success, -1 on failure. |
int InsertPacket(const WebRtcRTPHeader& rtp_header, |
- const uint8_t* payload, |
- size_t length_bytes, |
+ rtc::ArrayView<const uint8_t> payload, |
uint32_t receive_timestamp) override; |
// Inserts a sync-packet into packet queue. Sync-packets are decoded to |
@@ -207,8 +206,7 @@ class NetEqImpl : public webrtc::NetEq { |
// above. Returns 0 on success, otherwise an error code. |
// TODO(hlundin): Merge this with InsertPacket above? |
int InsertPacketInternal(const WebRtcRTPHeader& rtp_header, |
- const uint8_t* payload, |
- size_t length_bytes, |
+ rtc::ArrayView<const uint8_t> payload, |
uint32_t receive_timestamp, |
bool is_sync_packet) |
EXCLUSIVE_LOCKS_REQUIRED(crit_sect_); |