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_AUDIO_PROCESSING_SIMULATOR_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ |
13 | 13 |
14 #include <algorithm> | 14 #include <algorithm> |
15 #include <fstream> | 15 #include <fstream> |
16 #include <limits> | 16 #include <limits> |
17 #include <memory> | 17 #include <memory> |
18 #include <string> | 18 #include <string> |
19 | 19 |
20 #include "webrtc/base/constructormagic.h" | |
21 #include "webrtc/base/optional.h" | |
22 #include "webrtc/base/task_queue.h" | |
23 #include "webrtc/base/timeutils.h" | |
24 #include "webrtc/common_audio/channel_buffer.h" | 20 #include "webrtc/common_audio/channel_buffer.h" |
25 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 21 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
26 #include "webrtc/modules/audio_processing/test/test_utils.h" | 22 #include "webrtc/modules/audio_processing/test/test_utils.h" |
| 23 #include "webrtc/rtc_base/constructormagic.h" |
| 24 #include "webrtc/rtc_base/optional.h" |
| 25 #include "webrtc/rtc_base/task_queue.h" |
| 26 #include "webrtc/rtc_base/timeutils.h" |
27 | 27 |
28 namespace webrtc { | 28 namespace webrtc { |
29 namespace test { | 29 namespace test { |
30 | 30 |
31 // Holds all the parameters available for controlling the simulation. | 31 // Holds all the parameters available for controlling the simulation. |
32 struct SimulationSettings { | 32 struct SimulationSettings { |
33 SimulationSettings(); | 33 SimulationSettings(); |
34 SimulationSettings(const SimulationSettings&); | 34 SimulationSettings(const SimulationSettings&); |
35 ~SimulationSettings(); | 35 ~SimulationSettings(); |
36 rtc::Optional<int> stream_delay; | 36 rtc::Optional<int> stream_delay; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 rtc::TaskQueue worker_queue_; | 181 rtc::TaskQueue worker_queue_; |
182 | 182 |
183 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioProcessingSimulator); | 183 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(AudioProcessingSimulator); |
184 }; | 184 }; |
185 | 185 |
186 } // namespace test | 186 } // namespace test |
187 } // namespace webrtc | 187 } // namespace webrtc |
188 | 188 |
189 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ | 189 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_TEST_AUDIO_PROCESSING_SIMULATOR_H_ |
OLD | NEW |