| 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 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // MSVC++ requires this to be set before any other includes to get M_PI. | 36 // MSVC++ requires this to be set before any other includes to get M_PI. |
| 37 #define _USE_MATH_DEFINES | 37 #define _USE_MATH_DEFINES |
| 38 | 38 |
| 39 #include <stdio.h> | 39 #include <stdio.h> |
| 40 #include <cmath> | 40 #include <cmath> |
| 41 #include <map> | 41 #include <map> |
| 42 #include <memory> | 42 #include <memory> |
| 43 #include <vector> | 43 #include <vector> |
| 44 | 44 |
| 45 #include "webrtc/api/optional.h" |
| 45 #include "webrtc/common_audio/wav_file.h" | 46 #include "webrtc/common_audio/wav_file.h" |
| 46 #include "webrtc/modules/audio_processing/test/conversational_speech/config.h" | 47 #include "webrtc/modules/audio_processing/test/conversational_speech/config.h" |
| 47 #include "webrtc/modules/audio_processing/test/conversational_speech/mock_wavrea
der_factory.h" | 48 #include "webrtc/modules/audio_processing/test/conversational_speech/mock_wavrea
der_factory.h" |
| 48 #include "webrtc/modules/audio_processing/test/conversational_speech/multiend_ca
ll.h" | 49 #include "webrtc/modules/audio_processing/test/conversational_speech/multiend_ca
ll.h" |
| 49 #include "webrtc/modules/audio_processing/test/conversational_speech/simulator.h
" | 50 #include "webrtc/modules/audio_processing/test/conversational_speech/simulator.h
" |
| 50 #include "webrtc/modules/audio_processing/test/conversational_speech/timing.h" | 51 #include "webrtc/modules/audio_processing/test/conversational_speech/timing.h" |
| 51 #include "webrtc/modules/audio_processing/test/conversational_speech/wavreader_f
actory.h" | 52 #include "webrtc/modules/audio_processing/test/conversational_speech/wavreader_f
actory.h" |
| 52 #include "webrtc/rtc_base/logging.h" | 53 #include "webrtc/rtc_base/logging.h" |
| 53 #include "webrtc/rtc_base/optional.h" | |
| 54 #include "webrtc/rtc_base/pathutils.h" | 54 #include "webrtc/rtc_base/pathutils.h" |
| 55 #include "webrtc/test/gmock.h" | 55 #include "webrtc/test/gmock.h" |
| 56 #include "webrtc/test/gtest.h" | 56 #include "webrtc/test/gtest.h" |
| 57 #include "webrtc/test/testsupport/fileutils.h" | 57 #include "webrtc/test/testsupport/fileutils.h" |
| 58 | 58 |
| 59 namespace webrtc { | 59 namespace webrtc { |
| 60 namespace test { | 60 namespace test { |
| 61 namespace { | 61 namespace { |
| 62 | 62 |
| 63 using conversational_speech::LoadTiming; | 63 using conversational_speech::LoadTiming; |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 679 CheckAudioTrackParams( | 679 CheckAudioTrackParams( |
| 680 wav_reader_factory, it.second.far_end, expeted_params); | 680 wav_reader_factory, it.second.far_end, expeted_params); |
| 681 } | 681 } |
| 682 | 682 |
| 683 // Clean. | 683 // Clean. |
| 684 EXPECT_NO_FATAL_FAILURE(DeleteFolderAndContents(audiotracks_path)); | 684 EXPECT_NO_FATAL_FAILURE(DeleteFolderAndContents(audiotracks_path)); |
| 685 } | 685 } |
| 686 | 686 |
| 687 } // namespace test | 687 } // namespace test |
| 688 } // namespace webrtc | 688 } // namespace webrtc |
| OLD | NEW |