OLD | NEW |
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 "webrtc/modules/audio_processing/agc/agc.h" | 11 #include "webrtc/modules/audio_processing/agc/agc.h" |
12 | 12 |
13 #include "gmock/gmock.h" | 13 #include "gmock/gmock.h" |
14 #include "gtest/gtest.h" | 14 #include "gtest/gtest.h" |
15 | 15 |
16 #include "webrtc/modules/interface/module_common_types.h" | 16 #include "webrtc/modules/include/module_common_types.h" |
17 #include "webrtc/test/testsupport/fileutils.h" | 17 #include "webrtc/test/testsupport/fileutils.h" |
18 #include "webrtc/tools/agc/test_utils.h" | 18 #include "webrtc/tools/agc/test_utils.h" |
19 | 19 |
20 using ::testing::_; | 20 using ::testing::_; |
21 using ::testing::AllOf; | 21 using ::testing::AllOf; |
22 using ::testing::AtLeast; | 22 using ::testing::AtLeast; |
23 using ::testing::Eq; | 23 using ::testing::Eq; |
24 using ::testing::Gt; | 24 using ::testing::Gt; |
25 using ::testing::InSequence; | 25 using ::testing::InSequence; |
26 using ::testing::Lt; | 26 using ::testing::Lt; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 RunAgc(1000, -20); | 153 RunAgc(1000, -20); |
154 } | 154 } |
155 | 155 |
156 // TODO(ajm): Add this test; requires measuring the signal RMS. | 156 // TODO(ajm): Add this test; requires measuring the signal RMS. |
157 TEST_F(AgcTest, AdaptsToCorrectRMS) { | 157 TEST_F(AgcTest, AdaptsToCorrectRMS) { |
158 } | 158 } |
159 | 159 |
160 } // namespace | 160 } // namespace |
161 } // namespace webrtc | 161 } // namespace webrtc |
162 | 162 |
OLD | NEW |