| 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 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "gflags/gflags.h" | 17 #include "gflags/gflags.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "webrtc/base/scoped_ptr.h" | 19 #include "webrtc/base/scoped_ptr.h" |
| 20 #include "webrtc/common_audio/include/audio_util.h" | 20 #include "webrtc/common_audio/include/audio_util.h" |
| 21 #include "webrtc/modules/audio_processing/agc/agc.h" | 21 #include "webrtc/modules/audio_processing/agc/agc.h" |
| 22 #include "webrtc/modules/interface/module_common_types.h" | 22 #include "webrtc/modules/include/module_common_types.h" |
| 23 #include "webrtc/test/testsupport/fileutils.h" | 23 #include "webrtc/test/testsupport/fileutils.h" |
| 24 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
| 25 | 25 |
| 26 DEFINE_string(in_file_name, "", "PCM file that contains the signal."); | 26 DEFINE_string(in_file_name, "", "PCM file that contains the signal."); |
| 27 DEFINE_string(detection_file_name, | 27 DEFINE_string(detection_file_name, |
| 28 "", | 28 "", |
| 29 "PCM file that contains the detection signal."); | 29 "PCM file that contains the detection signal."); |
| 30 DEFINE_string(reference_file_name, | 30 DEFINE_string(reference_file_name, |
| 31 "", | 31 "", |
| 32 "PCM file that contains the reference signal."); | 32 "PCM file that contains the reference signal."); |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 } | 241 } |
| 242 | 242 |
| 243 } // namespace webrtc | 243 } // namespace webrtc |
| 244 | 244 |
| 245 int main(int argc, char* argv[]) { | 245 int main(int argc, char* argv[]) { |
| 246 google::SetUsageMessage(webrtc::kUsage); | 246 google::SetUsageMessage(webrtc::kUsage); |
| 247 google::ParseCommandLineFlags(&argc, &argv, true); | 247 google::ParseCommandLineFlags(&argc, &argv, true); |
| 248 webrtc::void_main(); | 248 webrtc::void_main(); |
| 249 return 0; | 249 return 0; |
| 250 } | 250 } |
| OLD | NEW |