OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2017 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 #include "webrtc/modules/audio_processing/test/conversational_speech/simulator.h
" | 11 #include "webrtc/modules/audio_processing/test/conversational_speech/simulator.h
" |
12 | 12 |
13 #include <set> | 13 #include <set> |
14 #include <utility> | 14 #include <utility> |
15 #include <vector> | 15 #include <vector> |
16 | 16 |
17 #include "webrtc/base/array_view.h" | |
18 #include "webrtc/base/constructormagic.h" | |
19 #include "webrtc/base/logging.h" | |
20 #include "webrtc/base/pathutils.h" | |
21 #include "webrtc/base/ptr_util.h" | |
22 #include "webrtc/common_audio/wav_file.h" | 17 #include "webrtc/common_audio/wav_file.h" |
23 #include "webrtc/modules/audio_processing/test/conversational_speech/wavreader_i
nterface.h" | 18 #include "webrtc/modules/audio_processing/test/conversational_speech/wavreader_i
nterface.h" |
| 19 #include "webrtc/rtc_base/array_view.h" |
| 20 #include "webrtc/rtc_base/constructormagic.h" |
| 21 #include "webrtc/rtc_base/logging.h" |
| 22 #include "webrtc/rtc_base/pathutils.h" |
| 23 #include "webrtc/rtc_base/ptr_util.h" |
24 | 24 |
25 namespace webrtc { | 25 namespace webrtc { |
26 namespace test { | 26 namespace test { |
27 namespace { | 27 namespace { |
28 | 28 |
29 using conversational_speech::MultiEndCall; | 29 using conversational_speech::MultiEndCall; |
30 using conversational_speech::SpeakerOutputFilePaths; | 30 using conversational_speech::SpeakerOutputFilePaths; |
31 using conversational_speech::WavReaderInterface; | 31 using conversational_speech::WavReaderInterface; |
32 | 32 |
33 // Combines output path and speaker names to define the output file paths for | 33 // Combines output path and speaker names to define the output file paths for |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 PadRightWrite(speakers_wav_writers->at(speaker_name).far_end_wav_writer(), | 212 PadRightWrite(speakers_wav_writers->at(speaker_name).far_end_wav_writer(), |
213 duration_samples); | 213 duration_samples); |
214 } | 214 } |
215 | 215 |
216 return speaker_output_file_paths; | 216 return speaker_output_file_paths; |
217 } | 217 } |
218 | 218 |
219 } // namespace conversational_speech | 219 } // namespace conversational_speech |
220 } // namespace test | 220 } // namespace test |
221 } // namespace webrtc | 221 } // namespace webrtc |
OLD | NEW |