Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: webrtc/modules/audio_processing/test/unpack.cc

Issue 1673263002: Update path for audioproc_debug proto output. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix GN build and move the test proto as well Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_processing/test/protobuf_utils.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/test/protobuf_utils.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698