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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 kFloatInterface, | 53 kFloatInterface, |
54 kNotSpecified, | 54 kNotSpecified, |
55 }; | 55 }; |
56 | 56 |
57 FILE* dump_input_file_; | 57 FILE* dump_input_file_; |
58 std::unique_ptr<ChannelBuffer<float>> artificial_nearend_buf_; | 58 std::unique_ptr<ChannelBuffer<float>> artificial_nearend_buf_; |
59 std::unique_ptr<ChannelBufferWavReader> artificial_nearend_buffer_reader_; | 59 std::unique_ptr<ChannelBufferWavReader> artificial_nearend_buffer_reader_; |
60 bool artificial_nearend_eof_reported_ = false; | 60 bool artificial_nearend_eof_reported_ = false; |
61 InterfaceType interface_used_ = InterfaceType::kNotSpecified; | 61 InterfaceType interface_used_ = InterfaceType::kNotSpecified; |
62 | 62 |
63 // TODO(aleloi): Remove once a FakeRecordingDevice is addded as protected | |
64 // member of AudioProcessingSimulator. | |
65 int last_specified_microphone_level_ = kInitialMicrophoneGainLevel; | |
66 | |
67 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); | 63 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AecDumpBasedSimulator); |
68 }; | 64 }; |
69 | 65 |
70 } // namespace test | 66 } // namespace test |
71 } // namespace webrtc | 67 } // namespace webrtc |
72 | 68 |
73 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ | 69 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AEC_DUMP_BASED_SIMULATOR_H_ |
OLD | NEW |