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 // | 11 // |
12 // Command line tool for speech intelligibility enhancement. Provides for | 12 // Command line tool for speech intelligibility enhancement. Provides for |
13 // running and testing intelligibility_enhancer as an independent process. | 13 // running and testing intelligibility_enhancer as an independent process. |
14 // Use --help for options. | 14 // Use --help for options. |
15 // | 15 // |
16 | 16 |
17 #include <stdint.h> | 17 #include <stdint.h> |
18 #include <stdlib.h> | 18 #include <stdlib.h> |
19 #include <string> | |
20 #include <sys/stat.h> | 19 #include <sys/stat.h> |
21 #include <sys/types.h> | 20 #include <sys/types.h> |
| 21 #include <string> |
22 | 22 |
23 #include "gflags/gflags.h" | 23 #include "gflags/gflags.h" |
24 #include "testing/gtest/include/gtest/gtest.h" | 24 #include "testing/gtest/include/gtest/gtest.h" |
25 #include "webrtc/base/checks.h" | 25 #include "webrtc/base/checks.h" |
26 #include "webrtc/common_audio/real_fourier.h" | 26 #include "webrtc/common_audio/real_fourier.h" |
27 #include "webrtc/common_audio/wav_file.h" | 27 #include "webrtc/common_audio/wav_file.h" |
28 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" | 28 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" |
29 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils.
h" | 29 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_utils.
h" |
30 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" | 30 #include "webrtc/system_wrappers/interface/critical_section_wrapper.h" |
31 #include "webrtc/test/testsupport/fileutils.h" | 31 #include "webrtc/test/testsupport/fileutils.h" |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 out_file.WriteSamples(&in_fpcm[0], samples); | 136 out_file.WriteSamples(&in_fpcm[0], samples); |
137 } | 137 } |
138 } | 138 } |
139 | 139 |
140 } // namespace webrtc | 140 } // namespace webrtc |
141 | 141 |
142 int main(int argc, char* argv[]) { | 142 int main(int argc, char* argv[]) { |
143 webrtc::void_main(argc, argv); | 143 webrtc::void_main(argc, argv); |
144 return 0; | 144 return 0; |
145 } | 145 } |
OLD | NEW |