#include "webrtc/modules/audio_processing/transient/transient_suppressor.h"
#include <stdlib.h>
#include <stdio.h>
#include <memory>
#include <string>
#include "gflags/gflags.h"
#include "webrtc/common_audio/include/audio_util.h"
#include "webrtc/modules/audio_processing/agc/agc.h"
#include "webrtc/modules/include/module_common_types.h"
#include "webrtc/test/gtest.h"
#include "webrtc/test/testsupport/fileutils.h"
#include "webrtc/typedefs.h"
|
| DEFINE_string (in_file_name, "", "PCM file that contains the signal.") |
|
| DEFINE_string (detection_file_name, "", "PCM file that contains the detection signal.") |
|
| DEFINE_string (reference_file_name, "", "PCM file that contains the reference signal.") |
|
| DEFINE_int32 (chunk_size_ms, 10, "Time between each chunk of samples in milliseconds.") |
|
| DEFINE_int32 (sample_rate_hz, 16000, "Sampling frequency of the signal in Hertz.") |
|
| DEFINE_int32 (detection_rate_hz, 0, "Sampling frequency of the detection signal in Hertz.") |
|
| DEFINE_int32 (num_channels, 1, "Number of channels.") |
|
bool | webrtc::ReadBuffers (FILE *in_file, size_t audio_buffer_size, int num_channels, int16_t *audio_buffer, FILE *detection_file, size_t detection_buffer_size, float *detection_buffer, FILE *reference_file, float *reference_buffer) |
|
void | webrtc::void_main () |
|
int | main (int argc, char *argv[]) |
|
◆ DEFINE_int32() [1/4]
DEFINE_int32 |
( |
chunk_size_ms |
, |
|
|
10 |
, |
|
|
"Time between each chunk of samples in milliseconds." |
|
|
) |
| |
◆ DEFINE_int32() [2/4]
DEFINE_int32 |
( |
sample_rate_hz |
, |
|
|
16000 |
, |
|
|
"Sampling frequency of the signal in Hertz." |
|
|
) |
| |
◆ DEFINE_int32() [3/4]
DEFINE_int32 |
( |
detection_rate_hz |
, |
|
|
0 |
, |
|
|
"Sampling frequency of the detection signal in Hertz." |
|
|
) |
| |
◆ DEFINE_int32() [4/4]
◆ DEFINE_string() [1/3]
DEFINE_string |
( |
in_file_name |
, |
|
|
"" |
, |
|
|
"PCM file that contains the signal." |
|
|
) |
| |
◆ DEFINE_string() [2/3]
DEFINE_string |
( |
detection_file_name |
, |
|
|
"" |
, |
|
|
"PCM file that contains the detection signal." |
|
|
) |
| |
◆ DEFINE_string() [3/3]
DEFINE_string |
( |
reference_file_name |
, |
|
|
"" |
, |
|
|
"PCM file that contains the reference signal." |
|
|
) |
| |
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |