| 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 24 matching lines...) Expand all Loading... |
| 35 ~AecDumpBasedSimulator() override {} | 35 ~AecDumpBasedSimulator() override {} |
| 36 | 36 |
| 37 // Processes the messages in the aecdump file. | 37 // Processes the messages in the aecdump file. |
| 38 void Process() override; | 38 void Process() override; |
| 39 | 39 |
| 40 private: | 40 private: |
| 41 void HandleMessage(const webrtc::audioproc::Init& msg); | 41 void HandleMessage(const webrtc::audioproc::Init& msg); |
| 42 void HandleMessage(const webrtc::audioproc::Stream& msg); | 42 void HandleMessage(const webrtc::audioproc::Stream& msg); |
| 43 void HandleMessage(const webrtc::audioproc::ReverseStream& msg); | 43 void HandleMessage(const webrtc::audioproc::ReverseStream& msg); |
| 44 void HandleMessage(const webrtc::audioproc::Config& msg); | 44 void HandleMessage(const webrtc::audioproc::Config& msg); |
| 45 void PrepareProcessStreamCall(const webrtc::audioproc::Stream& msg); | 45 void PrepareProcessStreamCall(const webrtc::audioproc::Stream& msg, |
| 46 bool* set_stream_analog_level_called); |
| 46 void PrepareReverseProcessStreamCall( | 47 void PrepareReverseProcessStreamCall( |
| 47 const webrtc::audioproc::ReverseStream& msg); | 48 const webrtc::audioproc::ReverseStream& msg); |
| 48 void VerifyProcessStreamBitExactness(const webrtc::audioproc::Stream& msg); | 49 void VerifyProcessStreamBitExactness(const webrtc::audioproc::Stream& msg); |
| 49 | 50 |
| 50 enum InterfaceType { | 51 enum InterfaceType { |
| 51 kFixedInterface, | 52 kFixedInterface, |
| 52 kFloatInterface, | 53 kFloatInterface, |
| 53 kNotSpecified, | 54 kNotSpecified, |
| 54 }; | 55 }; |
| 55 | 56 |
| 56 FILE* dump_input_file_; | 57 FILE* dump_input_file_; |
| 57 InterfaceType interface_used_ = InterfaceType::kNotSpecified; | 58 InterfaceType interface_used_ = InterfaceType::kNotSpecified; |
| 58 | 59 |
| 59 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); | 60 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); |
| 60 }; | 61 }; |
| 61 | 62 |
| 62 } // namespace test | 63 } // namespace test |
| 63 } // namespace webrtc | 64 } // namespace webrtc |
| 64 | 65 |
| 65 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ | 66 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ |
| OLD | NEW |