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 "gflags/gflags.h" | 11 #include "gflags/gflags.h" |
12 #include "webrtc/test/gtest.h" | |
13 #include "webrtc/base/criticalsection.h" | 12 #include "webrtc/base/criticalsection.h" |
14 #include "webrtc/common_audio/channel_buffer.h" | 13 #include "webrtc/common_audio/channel_buffer.h" |
15 #include "webrtc/common_audio/include/audio_util.h" | 14 #include "webrtc/common_audio/include/audio_util.h" |
16 #include "webrtc/common_audio/wav_file.h" | 15 #include "webrtc/common_audio/wav_file.h" |
17 #include "webrtc/modules/audio_processing/audio_buffer.h" | 16 #include "webrtc/modules/audio_processing/audio_buffer.h" |
18 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" | 17 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" |
19 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" | 18 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" |
| 19 #include "webrtc/test/gtest.h" |
20 | 20 |
21 using std::complex; | 21 using std::complex; |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 namespace { | 24 namespace { |
25 | 25 |
26 DEFINE_string(clear_file, "speech.wav", "Input file with clear speech."); | 26 DEFINE_string(clear_file, "speech.wav", "Input file with clear speech."); |
27 DEFINE_string(noise_file, "noise.wav", "Input file with noise data."); | 27 DEFINE_string(noise_file, "noise.wav", "Input file with noise data."); |
28 DEFINE_string(out_file, "proc_enhanced.wav", "Enhanced output file."); | 28 DEFINE_string(out_file, "proc_enhanced.wav", "Enhanced output file."); |
29 | 29 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 79 } |
80 } | 80 } |
81 | 81 |
82 } // namespace | 82 } // namespace |
83 } // namespace webrtc | 83 } // namespace webrtc |
84 | 84 |
85 int main(int argc, char* argv[]) { | 85 int main(int argc, char* argv[]) { |
86 webrtc::void_main(argc, argv); | 86 webrtc::void_main(argc, argv); |
87 return 0; | 87 return 0; |
88 } | 88 } |
OLD | NEW |