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

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_unittest.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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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/include/neteq.h" 11 #include "webrtc/modules/audio_coding/neteq/include/neteq.h"
12 12
13 #include <math.h> 13 #include <math.h>
14 #include <stdlib.h> 14 #include <stdlib.h>
15 #include <string.h> // memset 15 #include <string.h> // memset
16 16
17 #include <algorithm> 17 #include <algorithm>
18 #include <memory> 18 #include <memory>
19 #include <set> 19 #include <set>
20 #include <string> 20 #include <string>
21 #include <vector> 21 #include <vector>
22 22
23 #include "gflags/gflags.h" 23 #include "gflags/gflags.h"
24 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h" 24 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h"
25 #include "webrtc/base/ignore_wundef.h"
26 #include "webrtc/base/protobuf_utils.h"
27 #include "webrtc/base/sha1digest.h"
28 #include "webrtc/base/stringencode.h"
29 #include "webrtc/common_types.h" 25 #include "webrtc/common_types.h"
30 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h" 26 #include "webrtc/modules/audio_coding/codecs/pcm16b/pcm16b.h"
31 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h" 27 #include "webrtc/modules/audio_coding/neteq/tools/audio_loop.h"
32 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h" 28 #include "webrtc/modules/audio_coding/neteq/tools/rtp_file_source.h"
33 #include "webrtc/modules/include/module_common_types.h" 29 #include "webrtc/modules/include/module_common_types.h"
30 #include "webrtc/rtc_base/ignore_wundef.h"
31 #include "webrtc/rtc_base/protobuf_utils.h"
32 #include "webrtc/rtc_base/sha1digest.h"
33 #include "webrtc/rtc_base/stringencode.h"
34 #include "webrtc/test/gtest.h" 34 #include "webrtc/test/gtest.h"
35 #include "webrtc/test/testsupport/fileutils.h" 35 #include "webrtc/test/testsupport/fileutils.h"
36 #include "webrtc/typedefs.h" 36 #include "webrtc/typedefs.h"
37 37
38 #ifdef WEBRTC_NETEQ_UNITTEST_BITEXACT 38 #ifdef WEBRTC_NETEQ_UNITTEST_BITEXACT
39 RTC_PUSH_IGNORING_WUNDEF() 39 RTC_PUSH_IGNORING_WUNDEF()
40 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD 40 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD
41 #include "external/webrtc/webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h" 41 #include "external/webrtc/webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h"
42 #else 42 #else
43 #include "webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h" 43 #include "webrtc/modules/audio_coding/neteq/neteq_unittest.pb.h"
(...skipping 1582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1626 // Pull out data once. 1626 // Pull out data once.
1627 AudioFrame output; 1627 AudioFrame output;
1628 bool muted; 1628 bool muted;
1629 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted)); 1629 ASSERT_EQ(0, neteq_->GetAudio(&output, &muted));
1630 1630
1631 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}), 1631 EXPECT_EQ(std::vector<uint32_t>({kRtpTimestamp1, kRtpTimestamp2}),
1632 neteq_->LastDecodedTimestamps()); 1632 neteq_->LastDecodedTimestamps());
1633 } 1633 }
1634 1634
1635 } // namespace webrtc 1635 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc ('k') | webrtc/modules/audio_coding/neteq/normal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698