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

Side by Side Diff: webrtc/modules/audio_coding/neteq/nack_tracker.cc

Issue 2964773002: Revert "Update includes for webrtc/{base => rtc_base} rename (1/3)" (Closed)
Patch Set: Created 3 years, 5 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
11 #include "webrtc/modules/audio_coding/neteq/nack_tracker.h" 11 #include "webrtc/modules/audio_coding/neteq/nack_tracker.h"
12 12
13 #include <assert.h> // For assert. 13 #include <assert.h> // For assert.
14 14
15 #include <algorithm> // For std::max. 15 #include <algorithm> // For std::max.
16 16
17 #include "webrtc/base/checks.h"
17 #include "webrtc/modules/include/module_common_types.h" 18 #include "webrtc/modules/include/module_common_types.h"
18 #include "webrtc/rtc_base/checks.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 namespace { 21 namespace {
22 22
23 const int kDefaultSampleRateKhz = 48; 23 const int kDefaultSampleRateKhz = 48;
24 const int kDefaultPacketSizeMs = 20; 24 const int kDefaultPacketSizeMs = 20;
25 25
26 } // namespace 26 } // namespace
27 27
28 NackTracker::NackTracker(int nack_threshold_packets) 28 NackTracker::NackTracker(int nack_threshold_packets)
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 for (NackList::const_iterator it = nack_list_.begin(); it != nack_list_.end(); 223 for (NackList::const_iterator it = nack_list_.begin(); it != nack_list_.end();
224 ++it) { 224 ++it) {
225 if (it->second.is_missing && 225 if (it->second.is_missing &&
226 it->second.time_to_play_ms > round_trip_time_ms) 226 it->second.time_to_play_ms > round_trip_time_ms)
227 sequence_numbers.push_back(it->first); 227 sequence_numbers.push_back(it->first);
228 } 228 }
229 return sequence_numbers; 229 return sequence_numbers;
230 } 230 }
231 231
232 } // namespace webrtc 232 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/nack_tracker.h ('k') | webrtc/modules/audio_coding/neteq/neteq_decoder_enum.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698