OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 // Commandline tool to unpack audioproc debug files. | 11 // Commandline tool to unpack audioproc debug files. |
12 // | 12 // |
13 // The debug files are dumped as protobuf blobs. For analysis, it's necessary | 13 // The debug files are dumped as protobuf blobs. For analysis, it's necessary |
14 // to unpack the file into its component parts: audio and other data. | 14 // to unpack the file into its component parts: audio and other data. |
15 | 15 |
16 #include <stdio.h> | 16 #include <stdio.h> |
17 | 17 |
18 #include "gflags/gflags.h" | 18 #include "gflags/gflags.h" |
19 #include "webrtc/audio_processing/debug.pb.h" | |
20 #include "webrtc/base/format_macros.h" | 19 #include "webrtc/base/format_macros.h" |
21 #include "webrtc/base/scoped_ptr.h" | 20 #include "webrtc/base/scoped_ptr.h" |
| 21 #include "webrtc/modules/audio_processing/debug.pb.h" |
22 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" | 22 #include "webrtc/modules/audio_processing/test/protobuf_utils.h" |
23 #include "webrtc/modules/audio_processing/test/test_utils.h" | 23 #include "webrtc/modules/audio_processing/test/test_utils.h" |
24 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
25 | 25 |
26 // TODO(andrew): unpack more of the data. | 26 // TODO(andrew): unpack more of the data. |
27 DEFINE_string(input_file, "input", "The name of the input stream file."); | 27 DEFINE_string(input_file, "input", "The name of the input stream file."); |
28 DEFINE_string(output_file, "ref_out", | 28 DEFINE_string(output_file, "ref_out", |
29 "The name of the reference output stream file."); | 29 "The name of the reference output stream file."); |
30 DEFINE_string(reverse_file, "reverse", | 30 DEFINE_string(reverse_file, "reverse", |
31 "The name of the reverse input stream file."); | 31 "The name of the reverse input stream file."); |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 } | 311 } |
312 | 312 |
313 return 0; | 313 return 0; |
314 } | 314 } |
315 | 315 |
316 } // namespace webrtc | 316 } // namespace webrtc |
317 | 317 |
318 int main(int argc, char* argv[]) { | 318 int main(int argc, char* argv[]) { |
319 return webrtc::do_main(argc, argv); | 319 return webrtc::do_main(argc, argv); |
320 } | 320 } |
OLD | NEW |