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

Side by Side Diff: webrtc/modules/audio_coding/main/acm2/nack_unittest.cc

Issue 1417173004: audio_coding: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Restored incorrectly renamed header guards and fixed an old error 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/main/acm2/nack.h" 11 #include "webrtc/modules/audio_coding/main/acm2/nack.h"
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 14
15 #include <algorithm> 15 #include <algorithm>
16 16
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "webrtc/base/scoped_ptr.h" 18 #include "webrtc/base/scoped_ptr.h"
19 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
20 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef s.h" 20 #include "webrtc/modules/audio_coding/main/include/audio_coding_module_typedefs. h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 namespace acm2 { 24 namespace acm2 {
25 25
26 namespace { 26 namespace {
27 27
28 const int kNackThreshold = 3; 28 const int kNackThreshold = 3;
29 const int kSampleRateHz = 16000; 29 const int kSampleRateHz = 16000;
30 const int kPacketSizeMs = 30; 30 const int kPacketSizeMs = 30;
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 // 477 //
478 std::vector<uint16_t> nack_list = nack->GetNackList(100); 478 std::vector<uint16_t> nack_list = nack->GetNackList(100);
479 ASSERT_EQ(2u, nack_list.size()); 479 ASSERT_EQ(2u, nack_list.size());
480 EXPECT_EQ(4, nack_list[0]); 480 EXPECT_EQ(4, nack_list[0]);
481 EXPECT_EQ(5, nack_list[1]); 481 EXPECT_EQ(5, nack_list[1]);
482 } 482 }
483 483
484 } // namespace acm2 484 } // namespace acm2
485 485
486 } // namespace webrtc 486 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/main/acm2/nack.h ('k') | webrtc/modules/audio_coding/main/audio_coding_module.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698