blob: 9f1abc430d88747d161c8ad260e151614a769311 [file] [log] [blame]
andrew@webrtc.org08df9b22014-12-16 20:57:15 +00001/*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
aluebsb0ad43b2015-11-20 00:11:53 -080011#include <iostream>
kwiberg62eaacf2016-02-17 06:39:05 -080012#include <memory>
peah60a189f2016-05-24 20:54:40 -070013
14#include <string.h>
andrew@webrtc.org08df9b22014-12-16 20:57:15 +000015
16#include "gflags/gflags.h"
andrew@webrtc.org08df9b22014-12-16 20:57:15 +000017#include "webrtc/modules/audio_processing/include/audio_processing.h"
peah60a189f2016-05-24 20:54:40 -070018#include "webrtc/modules/audio_processing/test/aec_dump_based_simulator.h"
19#include "webrtc/modules/audio_processing/test/audio_processing_simulator.h"
20#include "webrtc/modules/audio_processing/test/wav_based_simulator.h"
andrew@webrtc.org08df9b22014-12-16 20:57:15 +000021
peah60a189f2016-05-24 20:54:40 -070022namespace webrtc {
23namespace test {
Peter Kasting69558702016-01-12 16:26:35 -080024namespace {
25
peah60a189f2016-05-24 20:54:40 -070026const int kParameterNotSpecifiedValue = -10000;
27
28const char kUsageDescription[] =
29 "Usage: audioproc_f [options] -i <input.wav>\n"
30 " or\n"
31 " audioproc_f [options] -dump_input <aec_dump>\n"
32 "\n\n"
33 "Command-line tool to simulate a call using the audio "
34 "processing module, either based on wav files or "
35 "protobuf debug dump recordings.";
36
37DEFINE_string(dump_input, "", "Aec dump input filename");
38DEFINE_string(dump_output, "", "Aec dump output filename");
39DEFINE_string(i, "", "Forward stream input wav filename");
40DEFINE_string(o, "", "Forward stream output wav filename");
41DEFINE_string(ri, "", "Reverse stream input wav filename");
42DEFINE_string(ro, "", "Reverse stream output wav filename");
peahdf80fd12016-12-09 02:43:40 -080043DEFINE_string(artificial_nearend, "", "Artificial nearend wav filename");
peah60a189f2016-05-24 20:54:40 -070044DEFINE_int32(output_num_channels,
45 kParameterNotSpecifiedValue,
46 "Number of forward stream output channels");
47DEFINE_int32(reverse_output_num_channels,
48 kParameterNotSpecifiedValue,
49 "Number of Reverse stream output channels");
50DEFINE_int32(output_sample_rate_hz,
51 kParameterNotSpecifiedValue,
52 "Forward stream output sample rate in Hz");
53DEFINE_int32(reverse_output_sample_rate_hz,
54 kParameterNotSpecifiedValue,
55 "Reverse stream output sample rate in Hz");
56DEFINE_string(mic_positions,
57 "",
58 "Space delimited cartesian coordinates of microphones in "
59 "meters. The coordinates of each point are contiguous. For a "
60 "two element array: \"x1 y1 z1 x2 y2 z2\"");
61DEFINE_int32(target_angle_degrees,
62 90,
63 "The azimuth of the target in degrees (0-359). Only applies to "
64 "beamforming.");
65DEFINE_bool(fixed_interface,
66 false,
67 "Use the fixed interface when operating on wav files");
68DEFINE_int32(aec,
69 kParameterNotSpecifiedValue,
70 "Activate (1) or deactivate(0) the echo canceller");
71DEFINE_int32(aecm,
72 kParameterNotSpecifiedValue,
73 "Activate (1) or deactivate(0) the mobile echo controller");
ivoc0bff12a2016-11-17 00:55:43 -080074DEFINE_int32(ed,
ivoc87d1a782016-11-14 07:55:03 -080075 kParameterNotSpecifiedValue,
76 "Activate (1) or deactivate (0) the residual echo detector");
ivoc0bff12a2016-11-17 00:55:43 -080077DEFINE_string(ed_graph, "", "Output filename for graph of echo likelihood");
peah60a189f2016-05-24 20:54:40 -070078DEFINE_int32(agc,
79 kParameterNotSpecifiedValue,
80 "Activate (1) or deactivate(0) the AGC");
81DEFINE_int32(hpf,
82 kParameterNotSpecifiedValue,
83 "Activate (1) or deactivate(0) the high-pass filter");
84DEFINE_int32(ns,
85 kParameterNotSpecifiedValue,
86 "Activate (1) or deactivate(0) the noise suppressor");
87DEFINE_int32(ts,
88 kParameterNotSpecifiedValue,
89 "Activate (1) or deactivate(0) the transient suppressor");
90DEFINE_int32(bf,
91 kParameterNotSpecifiedValue,
92 "Activate (1) or deactivate(0) the beamformer");
93DEFINE_int32(ie,
94 kParameterNotSpecifiedValue,
95 "Activate (1) or deactivate(0) the intelligibility enhancer");
96DEFINE_int32(vad,
97 kParameterNotSpecifiedValue,
98 "Activate (1) or deactivate(0) the voice activity detector");
99DEFINE_int32(le,
100 kParameterNotSpecifiedValue,
101 "Activate (1) or deactivate(0) the level estimator");
102DEFINE_bool(all_default,
103 false,
104 "Activate all of the default components (will be overridden by any "
105 "other settings)");
106DEFINE_int32(aec_suppression_level,
107 kParameterNotSpecifiedValue,
108 "Set the aec suppression level (0-2)");
109DEFINE_int32(delay_agnostic,
110 kParameterNotSpecifiedValue,
111 "Activate (1) or deactivate(0) the AEC delay agnostic mode");
112DEFINE_int32(extended_filter,
113 kParameterNotSpecifiedValue,
114 "Activate (1) or deactivate(0) the AEC extended filter mode");
115DEFINE_int32(drift_compensation,
116 kParameterNotSpecifiedValue,
117 "Activate (1) or deactivate(0) the drift compensation");
118DEFINE_int32(aec3,
119 kParameterNotSpecifiedValue,
120 "Activate (1) or deactivate(0) the experimental AEC mode AEC3");
peahca4cac72016-06-29 15:26:12 -0700121DEFINE_int32(lc,
122 kParameterNotSpecifiedValue,
123 "Activate (1) or deactivate(0) the level control");
aleloia3b2add2017-02-14 02:07:49 -0800124DEFINE_int32(experimental_agc,
125 kParameterNotSpecifiedValue,
126 "Activate (1) or deactivate(0) the experimental AGC");
peah60a189f2016-05-24 20:54:40 -0700127DEFINE_int32(
128 refined_adaptive_filter,
129 kParameterNotSpecifiedValue,
130 "Activate (1) or deactivate(0) the refined adaptive filter functionality");
131DEFINE_int32(aecm_routing_mode,
132 kParameterNotSpecifiedValue,
133 "Specify the AECM routing mode (0-4)");
134DEFINE_int32(aecm_comfort_noise,
135 kParameterNotSpecifiedValue,
136 "Activate (1) or deactivate(0) the AECM comfort noise");
137DEFINE_int32(agc_mode,
138 kParameterNotSpecifiedValue,
139 "Specify the AGC mode (0-2)");
140DEFINE_int32(agc_target_level,
141 kParameterNotSpecifiedValue,
142 "Specify the AGC target level (0-31)");
143DEFINE_int32(agc_limiter,
144 kParameterNotSpecifiedValue,
145 "Activate (1) or deactivate(0) the level estimator");
146DEFINE_int32(agc_compression_gain,
147 kParameterNotSpecifiedValue,
148 "Specify the AGC compression gain (0-90)");
149DEFINE_int32(vad_likelihood,
150 kParameterNotSpecifiedValue,
151 "Specify the VAD likelihood (0-3)");
152DEFINE_int32(ns_level,
153 kParameterNotSpecifiedValue,
154 "Specify the NS level (0-3)");
155DEFINE_int32(stream_delay,
156 kParameterNotSpecifiedValue,
157 "Specify the stream delay in ms to use");
158DEFINE_int32(stream_drift_samples,
159 kParameterNotSpecifiedValue,
160 "Specify the number of stream drift samples to use");
161DEFINE_bool(performance_report, false, "Report the APM performance ");
162DEFINE_bool(verbose, false, "Produce verbose output");
163DEFINE_bool(bitexactness_report,
164 false,
165 "Report bitexactness for aec dump result reproduction");
166DEFINE_bool(discard_settings_in_aecdump,
167 false,
168 "Discard any config settings specified in the aec dump");
169DEFINE_bool(store_intermediate_output,
170 false,
171 "Creates new output files after each init");
peah5ad5de32016-12-09 03:18:22 -0800172DEFINE_string(custom_call_order_file, "", "Custom process API call order file");
peah60a189f2016-05-24 20:54:40 -0700173
174void SetSettingIfSpecified(const std::string value,
175 rtc::Optional<std::string>* parameter) {
176 if (value.compare("") != 0) {
177 *parameter = rtc::Optional<std::string>(value);
178 }
179}
180
181void SetSettingIfSpecified(int value, rtc::Optional<int>* parameter) {
182 if (value != kParameterNotSpecifiedValue) {
183 *parameter = rtc::Optional<int>(value);
184 }
185}
186
187void SetSettingIfFlagSet(int32_t flag, rtc::Optional<bool>* parameter) {
188 if (flag == 0) {
189 *parameter = rtc::Optional<bool>(false);
190 } else if (flag == 1) {
191 *parameter = rtc::Optional<bool>(true);
192 }
193}
194
195SimulationSettings CreateSettings() {
196 SimulationSettings settings;
197 if (FLAGS_all_default) {
198 settings.use_le = rtc::Optional<bool>(true);
199 settings.use_vad = rtc::Optional<bool>(true);
200 settings.use_ie = rtc::Optional<bool>(false);
201 settings.use_bf = rtc::Optional<bool>(false);
202 settings.use_ts = rtc::Optional<bool>(true);
203 settings.use_ns = rtc::Optional<bool>(true);
204 settings.use_hpf = rtc::Optional<bool>(true);
205 settings.use_agc = rtc::Optional<bool>(true);
206 settings.use_aec = rtc::Optional<bool>(true);
207 settings.use_aecm = rtc::Optional<bool>(false);
ivoc0bff12a2016-11-17 00:55:43 -0800208 settings.use_ed = rtc::Optional<bool>(false);
peah60a189f2016-05-24 20:54:40 -0700209 }
210 SetSettingIfSpecified(FLAGS_dump_input, &settings.aec_dump_input_filename);
211 SetSettingIfSpecified(FLAGS_dump_output, &settings.aec_dump_output_filename);
212 SetSettingIfSpecified(FLAGS_i, &settings.input_filename);
213 SetSettingIfSpecified(FLAGS_o, &settings.output_filename);
214 SetSettingIfSpecified(FLAGS_ri, &settings.reverse_input_filename);
215 SetSettingIfSpecified(FLAGS_ro, &settings.reverse_output_filename);
peahdf80fd12016-12-09 02:43:40 -0800216 SetSettingIfSpecified(FLAGS_artificial_nearend,
217 &settings.artificial_nearend_filename);
peah60a189f2016-05-24 20:54:40 -0700218 SetSettingIfSpecified(FLAGS_output_num_channels,
219 &settings.output_num_channels);
220 SetSettingIfSpecified(FLAGS_reverse_output_num_channels,
221 &settings.reverse_output_num_channels);
222 SetSettingIfSpecified(FLAGS_output_sample_rate_hz,
223 &settings.output_sample_rate_hz);
224 SetSettingIfSpecified(FLAGS_reverse_output_sample_rate_hz,
225 &settings.reverse_output_sample_rate_hz);
226 SetSettingIfSpecified(FLAGS_mic_positions, &settings.microphone_positions);
227 settings.target_angle_degrees = FLAGS_target_angle_degrees;
228 SetSettingIfFlagSet(FLAGS_aec, &settings.use_aec);
229 SetSettingIfFlagSet(FLAGS_aecm, &settings.use_aecm);
ivoc0bff12a2016-11-17 00:55:43 -0800230 SetSettingIfFlagSet(FLAGS_ed, &settings.use_ed);
231 SetSettingIfSpecified(FLAGS_ed_graph, &settings.ed_graph_output_filename);
peah60a189f2016-05-24 20:54:40 -0700232 SetSettingIfFlagSet(FLAGS_agc, &settings.use_agc);
233 SetSettingIfFlagSet(FLAGS_hpf, &settings.use_hpf);
234 SetSettingIfFlagSet(FLAGS_ns, &settings.use_ns);
235 SetSettingIfFlagSet(FLAGS_ts, &settings.use_ts);
236 SetSettingIfFlagSet(FLAGS_bf, &settings.use_bf);
237 SetSettingIfFlagSet(FLAGS_ie, &settings.use_ie);
238 SetSettingIfFlagSet(FLAGS_vad, &settings.use_vad);
239 SetSettingIfFlagSet(FLAGS_le, &settings.use_le);
240 SetSettingIfSpecified(FLAGS_aec_suppression_level,
241 &settings.aec_suppression_level);
242 SetSettingIfFlagSet(FLAGS_delay_agnostic, &settings.use_delay_agnostic);
243 SetSettingIfFlagSet(FLAGS_extended_filter, &settings.use_extended_filter);
244 SetSettingIfFlagSet(FLAGS_drift_compensation,
245 &settings.use_drift_compensation);
246 SetSettingIfFlagSet(FLAGS_refined_adaptive_filter,
247 &settings.use_refined_adaptive_filter);
248
249 SetSettingIfFlagSet(FLAGS_aec3, &settings.use_aec3);
peahca4cac72016-06-29 15:26:12 -0700250 SetSettingIfFlagSet(FLAGS_lc, &settings.use_lc);
aleloia3b2add2017-02-14 02:07:49 -0800251 SetSettingIfFlagSet(FLAGS_experimental_agc, &settings.use_experimental_agc);
peah60a189f2016-05-24 20:54:40 -0700252 SetSettingIfSpecified(FLAGS_aecm_routing_mode, &settings.aecm_routing_mode);
253 SetSettingIfFlagSet(FLAGS_aecm_comfort_noise,
254 &settings.use_aecm_comfort_noise);
255 SetSettingIfSpecified(FLAGS_agc_mode, &settings.agc_mode);
256 SetSettingIfSpecified(FLAGS_agc_target_level, &settings.agc_target_level);
257 SetSettingIfFlagSet(FLAGS_agc_limiter, &settings.use_agc_limiter);
258 SetSettingIfSpecified(FLAGS_agc_compression_gain,
259 &settings.agc_compression_gain);
260 SetSettingIfSpecified(FLAGS_vad_likelihood, &settings.vad_likelihood);
261 SetSettingIfSpecified(FLAGS_ns_level, &settings.ns_level);
262 SetSettingIfSpecified(FLAGS_stream_delay, &settings.stream_delay);
263 SetSettingIfSpecified(FLAGS_stream_drift_samples,
264 &settings.stream_drift_samples);
peah5ad5de32016-12-09 03:18:22 -0800265 SetSettingIfSpecified(FLAGS_custom_call_order_file,
266 &settings.custom_call_order_filename);
peah60a189f2016-05-24 20:54:40 -0700267 settings.report_performance = FLAGS_performance_report;
268 settings.use_verbose_logging = FLAGS_verbose;
269 settings.report_bitexactness = FLAGS_bitexactness_report;
270 settings.discard_all_settings_in_aecdump = FLAGS_discard_settings_in_aecdump;
271 settings.fixed_interface = FLAGS_fixed_interface;
272 settings.store_intermediate_output = FLAGS_store_intermediate_output;
273
274 return settings;
275}
276
277void ReportConditionalErrorAndExit(bool condition, std::string message) {
278 if (condition) {
279 std::cerr << message << std::endl;
280 exit(1);
281 }
282}
283
284void PerformBasicParameterSanityChecks(const SimulationSettings& settings) {
285 if (settings.input_filename || settings.reverse_input_filename) {
286 ReportConditionalErrorAndExit(!!settings.aec_dump_input_filename,
287 "Error: The aec dump cannot be specified "
288 "together with input wav files!\n");
289
peahdf80fd12016-12-09 02:43:40 -0800290 ReportConditionalErrorAndExit(!!settings.artificial_nearend_filename,
291 "Error: The artificial nearend cannot be "
292 "specified together with input wav files!\n");
293
peah60a189f2016-05-24 20:54:40 -0700294 ReportConditionalErrorAndExit(!settings.input_filename,
295 "Error: When operating at wav files, the "
296 "input wav filename must be "
297 "specified!\n");
298
299 ReportConditionalErrorAndExit(
300 settings.reverse_output_filename && !settings.reverse_input_filename,
301 "Error: When operating at wav files, the reverse input wav filename "
302 "must be specified if the reverse output wav filename is specified!\n");
303 } else {
304 ReportConditionalErrorAndExit(!settings.aec_dump_input_filename,
305 "Error: Either the aec dump or the wav "
306 "input files must be specified!\n");
307 }
308
309 ReportConditionalErrorAndExit(
310 settings.use_aec && *settings.use_aec && settings.use_aecm &&
311 *settings.use_aecm,
312 "Error: The AEC and the AECM cannot be activated at the same time!\n");
313
314 ReportConditionalErrorAndExit(
315 settings.output_sample_rate_hz && *settings.output_sample_rate_hz <= 0,
316 "Error: --output_sample_rate_hz must be positive!\n");
317
318 ReportConditionalErrorAndExit(
319 settings.reverse_output_sample_rate_hz &&
320 settings.output_sample_rate_hz &&
321 *settings.output_sample_rate_hz <= 0,
322 "Error: --reverse_output_sample_rate_hz must be positive!\n");
323
324 ReportConditionalErrorAndExit(
325 settings.output_num_channels && *settings.output_num_channels <= 0,
326 "Error: --output_num_channels must be positive!\n");
327
328 ReportConditionalErrorAndExit(
329 settings.reverse_output_num_channels &&
330 *settings.reverse_output_num_channels <= 0,
331 "Error: --reverse_output_num_channels must be positive!\n");
332
333 ReportConditionalErrorAndExit(
334 settings.use_bf && *settings.use_bf && !settings.microphone_positions,
335 "Error: --mic_positions must be specified when the beamformer is "
336 "activated.\n");
337
338 ReportConditionalErrorAndExit(
339 settings.target_angle_degrees < 0 || settings.target_angle_degrees > 359,
340 "Error: -target_angle_degrees must be specified between 0 and 359.\n");
341
342 ReportConditionalErrorAndExit(
343 settings.aec_suppression_level &&
344 ((*settings.aec_suppression_level) < 0 ||
345 (*settings.aec_suppression_level) > 2),
346 "Error: --aec_suppression_level must be specified between 0 and 2.\n");
347
348 ReportConditionalErrorAndExit(
349 settings.aecm_routing_mode && ((*settings.aecm_routing_mode) < 0 ||
350 (*settings.aecm_routing_mode) > 4),
351 "Error: --aecm_routing_mode must be specified between 0 and 4.\n");
352
353 ReportConditionalErrorAndExit(
354 settings.agc_target_level && ((*settings.agc_target_level) < 0 ||
355 (*settings.agc_target_level) > 31),
356 "Error: --agc_target_level must be specified between 0 and 31.\n");
357
358 ReportConditionalErrorAndExit(
359 settings.agc_compression_gain && ((*settings.agc_compression_gain) < 0 ||
360 (*settings.agc_compression_gain) > 90),
361 "Error: --agc_compression_gain must be specified between 0 and 90.\n");
362
363 ReportConditionalErrorAndExit(
364 settings.vad_likelihood &&
365 ((*settings.vad_likelihood) < 0 || (*settings.vad_likelihood) > 3),
366 "Error: --vad_likelihood must be specified between 0 and 3.\n");
367
368 ReportConditionalErrorAndExit(
369 settings.ns_level &&
370 ((*settings.ns_level) < 0 || (*settings.ns_level) > 3),
371 "Error: --ns_level must be specified between 0 and 3.\n");
372
373 ReportConditionalErrorAndExit(
374 settings.report_bitexactness && !settings.aec_dump_input_filename,
375 "Error: --bitexactness_report can only be used when operating on an "
376 "aecdump\n");
377
peah5ad5de32016-12-09 03:18:22 -0800378 ReportConditionalErrorAndExit(
379 settings.custom_call_order_filename && settings.aec_dump_input_filename,
380 "Error: --custom_call_order_file cannot be used when operating on an "
381 "aecdump\n");
382
peah60a189f2016-05-24 20:54:40 -0700383 auto valid_wav_name = [](const std::string& wav_file_name) {
384 if (wav_file_name.size() < 5) {
385 return false;
386 }
387 if ((wav_file_name.compare(wav_file_name.size() - 4, 4, ".wav") == 0) ||
388 (wav_file_name.compare(wav_file_name.size() - 4, 4, ".WAV") == 0)) {
389 return true;
390 }
391 return false;
392 };
393
394 ReportConditionalErrorAndExit(
395 settings.input_filename && (!valid_wav_name(*settings.input_filename)),
396 "Error: --i must be a valid .wav file name.\n");
397
398 ReportConditionalErrorAndExit(
399 settings.output_filename && (!valid_wav_name(*settings.output_filename)),
400 "Error: --o must be a valid .wav file name.\n");
401
402 ReportConditionalErrorAndExit(
403 settings.reverse_input_filename &&
404 (!valid_wav_name(*settings.reverse_input_filename)),
405 "Error: --ri must be a valid .wav file name.\n");
406
407 ReportConditionalErrorAndExit(
408 settings.reverse_output_filename &&
409 (!valid_wav_name(*settings.reverse_output_filename)),
410 "Error: --ro must be a valid .wav file name.\n");
peahdf80fd12016-12-09 02:43:40 -0800411
412 ReportConditionalErrorAndExit(
413 settings.artificial_nearend_filename &&
414 !valid_wav_name(*settings.artificial_nearend_filename),
415 "Error: --artifical_nearend must be a valid .wav file name.\n");
Peter Kasting69558702016-01-12 16:26:35 -0800416}
417
418} // namespace
419
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000420int main(int argc, char* argv[]) {
peah60a189f2016-05-24 20:54:40 -0700421 google::SetUsageMessage(kUsageDescription);
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000422 google::ParseCommandLineFlags(&argc, &argv, true);
423
peah60a189f2016-05-24 20:54:40 -0700424 SimulationSettings settings = CreateSettings();
425 PerformBasicParameterSanityChecks(settings);
426 std::unique_ptr<AudioProcessingSimulator> processor;
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000427
peah60a189f2016-05-24 20:54:40 -0700428 if (settings.aec_dump_input_filename) {
429 processor.reset(new AecDumpBasedSimulator(settings));
aluebsb0ad43b2015-11-20 00:11:53 -0800430 } else {
peah60a189f2016-05-24 20:54:40 -0700431 processor.reset(new WavBasedSimulator(settings));
andrewbdafe312015-10-29 23:42:54 -0700432 }
433
peah60a189f2016-05-24 20:54:40 -0700434 processor->Process();
aluebsb0ad43b2015-11-20 00:11:53 -0800435
peah60a189f2016-05-24 20:54:40 -0700436 if (settings.report_performance) {
aluebsb0ad43b2015-11-20 00:11:53 -0800437 const auto& proc_time = processor->proc_time();
Niels Möllerd28db7f2016-05-10 16:31:47 +0200438 int64_t exec_time_us = proc_time.sum / rtc::kNumNanosecsPerMicrosec;
peah60a189f2016-05-24 20:54:40 -0700439 std::cout << std::endl
440 << "Execution time: " << exec_time_us * 1e-6 << " s, File time: "
441 << processor->get_num_process_stream_calls() * 1.f /
442 AudioProcessingSimulator::kChunksPerSecond
443 << std::endl
444 << "Time per fwd stream chunk (mean, max, min): " << std::endl
445 << exec_time_us * 1.f / processor->get_num_process_stream_calls()
446 << " us, " << 1.f * proc_time.max / rtc::kNumNanosecsPerMicrosec
447 << " us, " << 1.f * proc_time.min / rtc::kNumNanosecsPerMicrosec
448 << " us" << std::endl;
449 }
450
451 if (settings.report_bitexactness && settings.aec_dump_input_filename) {
452 if (processor->OutputWasBitexact()) {
453 std::cout << "The processing was bitexact.";
454 } else {
455 std::cout << "The processing was not bitexact.";
456 }
Alejandro Luebs5d22c002015-04-15 11:26:40 -0700457 }
aluebsb0ad43b2015-11-20 00:11:53 -0800458
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000459 return 0;
460}
461
peah60a189f2016-05-24 20:54:40 -0700462} // namespace test
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000463} // namespace webrtc
464
465int main(int argc, char* argv[]) {
peah60a189f2016-05-24 20:54:40 -0700466 return webrtc::test::main(argc, argv);
andrew@webrtc.org08df9b22014-12-16 20:57:15 +0000467}