| 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 |
| 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ |
| 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ |
| 13 | 13 |
| 14 #include "webrtc/modules/audio_processing/test/audio_processing_simulator.h" | 14 #include "webrtc/modules/audio_processing/test/audio_processing_simulator.h" |
| 15 | 15 |
| 16 #include "webrtc/base/constructormagic.h" | 16 #include "webrtc/base/constructormagic.h" |
| 17 #include "webrtc/base/ignore_wundef.h" |
| 17 | 18 |
| 19 RTC_PUSH_IGNORING_WUNDEF() |
| 18 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 20 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
| 19 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 21 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
| 20 #else | 22 #else |
| 21 #include "webrtc/modules/audio_processing/debug.pb.h" | 23 #include "webrtc/modules/audio_processing/debug.pb.h" |
| 22 #endif | 24 #endif |
| 25 RTC_POP_IGNORING_WUNDEF() |
| 23 | 26 |
| 24 namespace webrtc { | 27 namespace webrtc { |
| 25 namespace test { | 28 namespace test { |
| 26 | 29 |
| 27 // Used to perform an audio processing simulation from an aec dump. | 30 // Used to perform an audio processing simulation from an aec dump. |
| 28 class AecDumpBasedSimulator final : public AudioProcessingSimulator { | 31 class AecDumpBasedSimulator final : public AudioProcessingSimulator { |
| 29 public: | 32 public: |
| 30 explicit AecDumpBasedSimulator(const SimulationSettings& settings) | 33 explicit AecDumpBasedSimulator(const SimulationSettings& settings) |
| 31 : AudioProcessingSimulator(settings) {} | 34 : AudioProcessingSimulator(settings) {} |
| 32 ~AecDumpBasedSimulator() override {} | 35 ~AecDumpBasedSimulator() override {} |
| (...skipping 20 matching lines...) Expand all Loading... |
| 53 FILE* dump_input_file_; | 56 FILE* dump_input_file_; |
| 54 InterfaceType interface_used_ = InterfaceType::kNotSpecified; | 57 InterfaceType interface_used_ = InterfaceType::kNotSpecified; |
| 55 | 58 |
| 56 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); | 59 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); |
| 57 }; | 60 }; |
| 58 | 61 |
| 59 } // namespace test | 62 } // namespace test |
| 60 } // namespace webrtc | 63 } // namespace webrtc |
| 61 | 64 |
| 62 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ | 65 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ |
| OLD | NEW |