OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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/transient/transient_suppressor.h" | 11 #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" |
12 | 12 |
13 #include <stdlib.h> | 13 #include <stdlib.h> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 | 15 |
16 #include <memory> | 16 #include <memory> |
17 #include <string> | 17 #include <string> |
18 | 18 |
19 #include "gflags/gflags.h" | 19 #include "gflags/gflags.h" |
20 #include "webrtc/test/gtest.h" | |
21 #include "webrtc/common_audio/include/audio_util.h" | 20 #include "webrtc/common_audio/include/audio_util.h" |
22 #include "webrtc/modules/audio_processing/agc/agc.h" | 21 #include "webrtc/modules/audio_processing/agc/agc.h" |
23 #include "webrtc/modules/include/module_common_types.h" | 22 #include "webrtc/modules/include/module_common_types.h" |
| 23 #include "webrtc/test/gtest.h" |
24 #include "webrtc/test/testsupport/fileutils.h" | 24 #include "webrtc/test/testsupport/fileutils.h" |
25 #include "webrtc/typedefs.h" | 25 #include "webrtc/typedefs.h" |
26 | 26 |
27 DEFINE_string(in_file_name, "", "PCM file that contains the signal."); | 27 DEFINE_string(in_file_name, "", "PCM file that contains the signal."); |
28 DEFINE_string(detection_file_name, | 28 DEFINE_string(detection_file_name, |
29 "", | 29 "", |
30 "PCM file that contains the detection signal."); | 30 "PCM file that contains the detection signal."); |
31 DEFINE_string(reference_file_name, | 31 DEFINE_string(reference_file_name, |
32 "", | 32 "", |
33 "PCM file that contains the reference signal."); | 33 "PCM file that contains the reference signal."); |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 } | 242 } |
243 | 243 |
244 } // namespace webrtc | 244 } // namespace webrtc |
245 | 245 |
246 int main(int argc, char* argv[]) { | 246 int main(int argc, char* argv[]) { |
247 google::SetUsageMessage(webrtc::kUsage); | 247 google::SetUsageMessage(webrtc::kUsage); |
248 google::ParseCommandLineFlags(&argc, &argv, true); | 248 google::ParseCommandLineFlags(&argc, &argv, true); |
249 webrtc::void_main(); | 249 webrtc::void_main(); |
250 return 0; | 250 return 0; |
251 } | 251 } |
OLD | NEW |