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

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

Issue 1481493004: audio_coding: remove "main" directory (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years 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 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_ 11 #ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_
12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_ 12 #define WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_
13 13
14 #include <vector> 14 #include <vector>
15 #include <map> 15 #include <map>
16 16
17 #include "webrtc/base/scoped_ptr.h" 17 #include "webrtc/base/scoped_ptr.h"
18 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs. h" 18 #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
19 #include "webrtc/test/testsupport/gtest_prod_util.h" 19 #include "webrtc/test/testsupport/gtest_prod_util.h"
20 20
21 // 21 //
22 // The Nack class keeps track of the lost packets, an estimate of time-to-play 22 // The Nack class keeps track of the lost packets, an estimate of time-to-play
23 // for each packet is also given. 23 // for each packet is also given.
24 // 24 //
25 // Every time a packet is pushed into NetEq, LastReceivedPacket() has to be 25 // Every time a packet is pushed into NetEq, LastReceivedPacket() has to be
26 // called to update the NACK list. 26 // called to update the NACK list.
27 // 27 //
28 // Every time 10ms audio is pulled from NetEq LastDecodedPacket() should be 28 // Every time 10ms audio is pulled from NetEq LastDecodedPacket() should be
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 NackList nack_list_; 200 NackList nack_list_;
201 201
202 // NACK list will not keep track of missing packets prior to 202 // NACK list will not keep track of missing packets prior to
203 // |sequence_num_last_received_rtp_| - |max_nack_list_size_|. 203 // |sequence_num_last_received_rtp_| - |max_nack_list_size_|.
204 size_t max_nack_list_size_; 204 size_t max_nack_list_size_;
205 }; 205 };
206 206
207 } // namespace webrtc 207 } // namespace webrtc
208 208
209 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_ 209 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NACK_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/audio_decoder_impl.h ('k') | webrtc/modules/audio_coding/neteq/nack_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698