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 <vector> | 11 #include <vector> |
12 | 12 |
13 #include "gflags/gflags.h" | 13 #include "gflags/gflags.h" |
| 14 #include "webrtc/base/checks.h" |
| 15 #include "webrtc/base/format_macros.h" |
14 #include "webrtc/common_audio/channel_buffer.h" | 16 #include "webrtc/common_audio/channel_buffer.h" |
15 #include "webrtc/common_audio/wav_file.h" | 17 #include "webrtc/common_audio/wav_file.h" |
16 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" | 18 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" |
17 #include "webrtc/modules/audio_processing/test/test_utils.h" | 19 #include "webrtc/modules/audio_processing/test/test_utils.h" |
18 #include "webrtc/rtc_base/checks.h" | |
19 #include "webrtc/rtc_base/format_macros.h" | |
20 | 20 |
21 DEFINE_string(i, "", "The name of the input file to read from."); | 21 DEFINE_string(i, "", "The name of the input file to read from."); |
22 DEFINE_string(o, "out.wav", "Name of the output file to write to."); | 22 DEFINE_string(o, "out.wav", "Name of the output file to write to."); |
23 DEFINE_string(mic_positions, "", | 23 DEFINE_string(mic_positions, "", |
24 "Space delimited cartesian coordinates of microphones in meters. " | 24 "Space delimited cartesian coordinates of microphones in meters. " |
25 "The coordinates of each point are contiguous. " | 25 "The coordinates of each point are contiguous. " |
26 "For a two element array: \"x1 y1 z1 x2 y2 z2\""); | 26 "For a two element array: \"x1 y1 z1 x2 y2 z2\""); |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 namespace { | 29 namespace { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 79 } |
80 | 80 |
81 return 0; | 81 return 0; |
82 } | 82 } |
83 | 83 |
84 } // namespace webrtc | 84 } // namespace webrtc |
85 | 85 |
86 int main(int argc, char* argv[]) { | 86 int main(int argc, char* argv[]) { |
87 return webrtc::main(argc, argv); | 87 return webrtc::main(argc, argv); |
88 } | 88 } |
OLD | NEW |