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

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

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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.h" 11 #include "webrtc/modules/audio_coding/neteq/nack.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/base/checks.h"
18 #include "webrtc/modules/interface/module_common_types.h" 18 #include "webrtc/modules/include/module_common_types.h"
19 #include "webrtc/system_wrappers/include/logging.h" 19 #include "webrtc/system_wrappers/include/logging.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace { 22 namespace {
23 23
24 const int kDefaultSampleRateKhz = 48; 24 const int kDefaultSampleRateKhz = 48;
25 const int kDefaultPacketSizeMs = 20; 25 const int kDefaultPacketSizeMs = 20;
26 26
27 } // namespace 27 } // namespace
28 28
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 for (NackList::const_iterator it = nack_list_.begin(); it != nack_list_.end(); 222 for (NackList::const_iterator it = nack_list_.begin(); it != nack_list_.end();
223 ++it) { 223 ++it) {
224 if (it->second.is_missing && 224 if (it->second.is_missing &&
225 it->second.time_to_play_ms > round_trip_time_ms) 225 it->second.time_to_play_ms > round_trip_time_ms)
226 sequence_numbers.push_back(it->first); 226 sequence_numbers.push_back(it->first);
227 } 227 }
228 return sequence_numbers; 228 return sequence_numbers;
229 } 229 }
230 230
231 } // namespace webrtc 231 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/delay_manager.cc ('k') | webrtc/modules/audio_coding/neteq/neteq_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698