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

Side by Side Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api_audio.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 <algorithm> 11 #include <algorithm>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "webrtc/base/rate_limiter.h"
16 #include "webrtc/common_types.h" 15 #include "webrtc/common_types.h"
17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" 16 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h"
18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 17 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
19 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtp_receiver_audio.h"
20 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" 19 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h"
20 #include "webrtc/rtc_base/rate_limiter.h"
21 #include "webrtc/test/gtest.h" 21 #include "webrtc/test/gtest.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 namespace { 24 namespace {
25 25
26 const uint32_t kTestRate = 64000u; 26 const uint32_t kTestRate = 64000u;
27 const uint8_t kTestPayload[] = { 't', 'e', 's', 't' }; 27 const uint8_t kTestPayload[] = { 't', 'e', 's', 't' };
28 const uint8_t kPcmuPayloadType = 96; 28 const uint8_t kPcmuPayloadType = 96;
29 const uint8_t kDtmfPayloadType = 97; 29 const uint8_t kDtmfPayloadType = 97;
30 30
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 nullptr, nullptr, nullptr)); 278 nullptr, nullptr, nullptr));
279 279
280 EXPECT_EQ(test_ssrc, rtp_receiver2_->SSRC()); 280 EXPECT_EQ(test_ssrc, rtp_receiver2_->SSRC());
281 EXPECT_TRUE(rtp_receiver2_->Timestamp(&timestamp)); 281 EXPECT_TRUE(rtp_receiver2_->Timestamp(&timestamp));
282 EXPECT_EQ(test_timestamp + in_timestamp, timestamp); 282 EXPECT_EQ(test_timestamp + in_timestamp, timestamp);
283 in_timestamp += 10; 283 in_timestamp += 10;
284 } 284 }
285 } 285 }
286 286
287 } // namespace webrtc 287 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc ('k') | webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698