| Index: webrtc/modules/audio_processing/test/audioproc_float.cc
|
| diff --git a/webrtc/modules/audio_processing/test/audioproc_float.cc b/webrtc/modules/audio_processing/test/audioproc_float.cc
|
| index 381d7fd2b6750886974771e6a172aa70088d1335..6ed0aaf0220e26e51be42c1ebb73a10d152cfdec 100644
|
| --- a/webrtc/modules/audio_processing/test/audioproc_float.cc
|
| +++ b/webrtc/modules/audio_processing/test/audioproc_float.cc
|
| @@ -127,6 +127,14 @@ int main(int argc, char* argv[]) {
|
| TickTime processing_start_time;
|
| TickInterval accumulated_time;
|
| int num_chunks = 0;
|
| +
|
| + const ProcessingConfig processing_config = {
|
| + {{
|
| + in_file.sample_rate(), in_buf.num_channels(),
|
| + },
|
| + {
|
| + out_file.sample_rate(), out_buf.num_channels(),
|
| + }, {}}};
|
| while (in_file.ReadSamples(in_interleaved.size(),
|
| &in_interleaved[0]) == in_interleaved.size()) {
|
| // Have logs display the file time rather than wallclock time.
|
| @@ -139,14 +147,8 @@ int main(int argc, char* argv[]) {
|
| if (FLAGS_perf) {
|
| processing_start_time = TickTime::Now();
|
| }
|
| - CHECK_EQ(kNoErr,
|
| - ap->ProcessStream(in_buf.channels(),
|
| - in_buf.num_frames(),
|
| - in_file.sample_rate(),
|
| - LayoutFromChannels(in_buf.num_channels()),
|
| - out_file.sample_rate(),
|
| - LayoutFromChannels(out_buf.num_channels()),
|
| - out_buf.channels()));
|
| + CHECK_EQ(kNoErr, ap->ProcessStream(in_buf.channels(), processing_config,
|
| + out_buf.channels()));
|
| if (FLAGS_perf) {
|
| accumulated_time += TickTime::Now() - processing_start_time;
|
| }
|
|
|