OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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/codecs/opus/opus_interface.h" | 11 #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" |
12 #include "webrtc/modules/audio_coding/codecs/opus/opus_inst.h" | 12 #include "webrtc/modules/audio_coding/codecs/opus/opus_inst.h" |
13 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" | 13 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" |
14 | 14 |
15 using google::RegisterFlagValidator; | 15 using google::RegisterFlagValidator; |
16 using google::ParseCommandLineFlags; | 16 using google::ParseCommandLineFlags; |
17 using std::string; | |
18 using testing::InitGoogleTest; | 17 using testing::InitGoogleTest; |
19 | 18 |
20 namespace webrtc { | 19 namespace webrtc { |
21 namespace test { | 20 namespace test { |
22 namespace { | 21 namespace { |
23 | 22 |
24 static const int kOpusBlockDurationMs = 20; | 23 static const int kOpusBlockDurationMs = 20; |
25 static const int kOpusSamplingKhz = 48; | 24 static const int kOpusSamplingKhz = 48; |
26 | 25 |
27 // Define switch for bit rate. | 26 // Define switch for bit rate. |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 EXPECT_GE(value, 0); | 205 EXPECT_GE(value, 0); |
207 return value; | 206 return value; |
208 } | 207 } |
209 | 208 |
210 TEST_F(NetEqOpusQualityTest, Test) { | 209 TEST_F(NetEqOpusQualityTest, Test) { |
211 Simulate(); | 210 Simulate(); |
212 } | 211 } |
213 | 212 |
214 } // namespace test | 213 } // namespace test |
215 } // namespace webrtc | 214 } // namespace webrtc |
OLD | NEW |