| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 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 | 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 | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 217     ASSERT_EQ(AudioProcessing::kNoError, | 217     ASSERT_EQ(AudioProcessing::kNoError, | 
| 218               apm->echo_cancellation()->Enable(false)); | 218               apm->echo_cancellation()->Enable(false)); | 
| 219     ASSERT_EQ(AudioProcessing::kNoError, apm->echo_control_mobile()->Enable( | 219     ASSERT_EQ(AudioProcessing::kNoError, apm->echo_control_mobile()->Enable( | 
| 220                                              include_default_apm_processing)); | 220                                              include_default_apm_processing)); | 
| 221   } else { | 221   } else { | 
| 222     ASSERT_EQ(AudioProcessing::kNoError, | 222     ASSERT_EQ(AudioProcessing::kNoError, | 
| 223               apm->echo_cancellation()->Enable(include_default_apm_processing)); | 223               apm->echo_cancellation()->Enable(include_default_apm_processing)); | 
| 224     ASSERT_EQ(AudioProcessing::kNoError, | 224     ASSERT_EQ(AudioProcessing::kNoError, | 
| 225               apm->echo_control_mobile()->Enable(false)); | 225               apm->echo_control_mobile()->Enable(false)); | 
| 226   } | 226   } | 
| 227   ASSERT_EQ(AudioProcessing::kNoError, | 227   apm_config.high_pass_filter.enabled = include_default_apm_processing; | 
| 228             apm->high_pass_filter()->Enable(include_default_apm_processing)); |  | 
| 229   ASSERT_EQ(AudioProcessing::kNoError, | 228   ASSERT_EQ(AudioProcessing::kNoError, | 
| 230             apm->noise_suppression()->Enable(include_default_apm_processing)); | 229             apm->noise_suppression()->Enable(include_default_apm_processing)); | 
| 231   ASSERT_EQ(AudioProcessing::kNoError, | 230   ASSERT_EQ(AudioProcessing::kNoError, | 
| 232             apm->voice_detection()->Enable(include_default_apm_processing)); | 231             apm->voice_detection()->Enable(include_default_apm_processing)); | 
| 233   ASSERT_EQ(AudioProcessing::kNoError, | 232   ASSERT_EQ(AudioProcessing::kNoError, | 
| 234             apm->level_estimator()->Enable(include_default_apm_processing)); | 233             apm->level_estimator()->Enable(include_default_apm_processing)); | 
| 235 | 234 | 
| 236   StreamConfig render_input_config(render_input_sample_rate_hz, num_channels, | 235   StreamConfig render_input_config(render_input_sample_rate_hz, num_channels, | 
| 237                                    false); | 236                                    false); | 
| 238   StreamConfig render_output_config(render_output_sample_rate_hz, num_channels, | 237   StreamConfig render_output_config(render_output_sample_rate_hz, num_channels, | 
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 346         RunTogetherWithApm("LevelControlAndDefaultMobileApm", 48000, 48000, | 345         RunTogetherWithApm("LevelControlAndDefaultMobileApm", 48000, 48000, | 
| 347                            capture_input_sample_rate_hz, | 346                            capture_input_sample_rate_hz, | 
| 348                            capture_output_sample_rate_hz, num_channels, true, | 347                            capture_output_sample_rate_hz, num_channels, true, | 
| 349                            true); | 348                            true); | 
| 350       } | 349       } | 
| 351     } | 350     } | 
| 352   } | 351   } | 
| 353 } | 352 } | 
| 354 | 353 | 
| 355 }  // namespace webrtc | 354 }  // namespace webrtc | 
| OLD | NEW | 
|---|