| 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/isac/fix/include/isacfix.h" | 11 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/isacfix.h" |
| 12 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" | 12 #include "webrtc/modules/audio_coding/neteq/tools/neteq_quality_test.h" |
| 13 | 13 |
| 14 using google::RegisterFlagValidator; | 14 using google::RegisterFlagValidator; |
| 15 using google::ParseCommandLineFlags; | 15 using google::ParseCommandLineFlags; |
| 16 using std::string; | |
| 17 using testing::InitGoogleTest; | 16 using testing::InitGoogleTest; |
| 18 | 17 |
| 19 namespace webrtc { | 18 namespace webrtc { |
| 20 namespace test { | 19 namespace test { |
| 21 namespace { | 20 namespace { |
| 22 static const int kIsacBlockDurationMs = 30; | 21 static const int kIsacBlockDurationMs = 30; |
| 23 static const int kIsacInputSamplingKhz = 16; | 22 static const int kIsacInputSamplingKhz = 16; |
| 24 static const int kIsacOutputSamplingKhz = 16; | 23 static const int kIsacOutputSamplingKhz = 16; |
| 25 | 24 |
| 26 // Define switch for bit rate. | 25 // Define switch for bit rate. |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 EXPECT_GT(value, 0); | 97 EXPECT_GT(value, 0); |
| 99 return value; | 98 return value; |
| 100 } | 99 } |
| 101 | 100 |
| 102 TEST_F(NetEqIsacQualityTest, Test) { | 101 TEST_F(NetEqIsacQualityTest, Test) { |
| 103 Simulate(); | 102 Simulate(); |
| 104 } | 103 } |
| 105 | 104 |
| 106 } // namespace test | 105 } // namespace test |
| 107 } // namespace webrtc | 106 } // namespace webrtc |
| OLD | NEW |