#include <stdio.h>
#include <memory>
#include "gflags/gflags.h"
#include "webrtc/base/format_macros.h"
#include "webrtc/base/ignore_wundef.h"
#include "webrtc/modules/audio_processing/test/protobuf_utils.h"
#include "webrtc/modules/audio_processing/test/test_utils.h"
#include "webrtc/typedefs.h"
#include "webrtc/modules/audio_processing/debug.pb.h"
|
| DEFINE_string (input_file, "input", "The name of the input stream file.") |
|
| DEFINE_string (output_file, "ref_out", "The name of the reference output stream file.") |
|
| DEFINE_string (reverse_file, "reverse", "The name of the reverse input stream file.") |
|
| DEFINE_string (delay_file, "delay.int32", "The name of the delay file.") |
|
| DEFINE_string (drift_file, "drift.int32", "The name of the drift file.") |
|
| DEFINE_string (level_file, "level.int32", "The name of the level file.") |
|
| DEFINE_string (keypress_file, "keypress.bool", "The name of the keypress file.") |
|
| DEFINE_string (settings_file, "settings.txt", "The name of the settings file.") |
|
| DEFINE_bool (full, false, "Unpack the full set of files (normally not needed).") |
|
| DEFINE_bool (raw, false, "Write raw data instead of a WAV file.") |
|
| DEFINE_bool (text, false, "Write non-audio files as text files instead of binary files.") |
|
void | webrtc::WriteData (const void *data, size_t size, FILE *file, const std::string &filename) |
|
int | webrtc::do_main (int argc, char *argv[]) |
|
int | main (int argc, char *argv[]) |
|
◆ PRINT_CONFIG
#define PRINT_CONFIG |
( |
|
field_name | ) |
|
Value:if (msg.has_##field_name()) { \
fprintf(settings_file, " " #field_name ": %d\n", msg.field_name()); \
}
◆ DEFINE_bool() [1/3]
DEFINE_bool |
( |
full |
, |
|
|
false |
, |
|
|
"Unpack the full set of files (normally not needed)." |
|
|
) |
| |
◆ DEFINE_bool() [2/3]
◆ DEFINE_bool() [3/3]
◆ DEFINE_string() [1/8]
DEFINE_string |
( |
input_file |
, |
|
|
"input" |
, |
|
|
"The name of the input stream file." |
|
|
) |
| |
◆ DEFINE_string() [2/8]
◆ DEFINE_string() [3/8]
◆ DEFINE_string() [4/8]
DEFINE_string |
( |
delay_file |
, |
|
|
"delay.int32" |
, |
|
|
"The name of the delay file." |
|
|
) |
| |
◆ DEFINE_string() [5/8]
DEFINE_string |
( |
drift_file |
, |
|
|
"drift.int32" |
, |
|
|
"The name of the drift file." |
|
|
) |
| |
◆ DEFINE_string() [6/8]
DEFINE_string |
( |
level_file |
, |
|
|
"level.int32" |
, |
|
|
"The name of the level file." |
|
|
) |
| |
◆ DEFINE_string() [7/8]
DEFINE_string |
( |
keypress_file |
, |
|
|
"keypress.bool" |
, |
|
|
"The name of the keypress file." |
|
|
) |
| |
◆ DEFINE_string() [8/8]
DEFINE_string |
( |
settings_file |
, |
|
|
"settings.txt" |
, |
|
|
"The name of the settings file." |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |