webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Macros | Functions
unpack.cc File Reference
#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"

Namespaces

 webrtc
 

Macros

#define PRINT_CONFIG(field_name)
 

Functions

 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[])
 

Macro Definition Documentation

◆ PRINT_CONFIG

#define PRINT_CONFIG (   field_name)
Value:
if (msg.has_##field_name()) { \
fprintf(settings_file, " " #field_name ": %d\n", msg.field_name()); \
}

Function Documentation

◆ DEFINE_bool() [1/3]

DEFINE_bool ( full  ,
false  ,
"Unpack the full set of files (normally not needed)."   
)

◆ DEFINE_bool() [2/3]

DEFINE_bool ( raw  ,
false  ,
"Write raw data instead of a WAV file."   
)

◆ DEFINE_bool() [3/3]

DEFINE_bool ( text  ,
false  ,
"Write non-audio files as text files instead of binary files."   
)

◆ DEFINE_string() [1/8]

DEFINE_string ( input_file  ,
"input"  ,
"The name of the input stream file."   
)

◆ DEFINE_string() [2/8]

DEFINE_string ( output_file  ,
"ref_out"  ,
"The name of the reference output stream file."   
)

◆ DEFINE_string() [3/8]

DEFINE_string ( reverse_file  ,
"reverse"  ,
"The name of the reverse input stream file."   
)

◆ 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[] 
)