| 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/mock_wavrea
der_factory.h" | 11 #include "webrtc/modules/audio_processing/test/conversational_speech/mock_wavrea
der_factory.h" |
| 12 | 12 |
| 13 #include "webrtc/base/logging.h" | |
| 14 #include "webrtc/base/pathutils.h" | |
| 15 #include "webrtc/modules/audio_processing/test/conversational_speech/mock_wavrea
der.h" | 13 #include "webrtc/modules/audio_processing/test/conversational_speech/mock_wavrea
der.h" |
| 14 #include "webrtc/rtc_base/logging.h" |
| 15 #include "webrtc/rtc_base/pathutils.h" |
| 16 #include "webrtc/test/gmock.h" | 16 #include "webrtc/test/gmock.h" |
| 17 | 17 |
| 18 namespace webrtc { | 18 namespace webrtc { |
| 19 namespace test { | 19 namespace test { |
| 20 namespace conversational_speech { | 20 namespace conversational_speech { |
| 21 | 21 |
| 22 using testing::_; | 22 using testing::_; |
| 23 using testing::Invoke; | 23 using testing::Invoke; |
| 24 | 24 |
| 25 MockWavReaderFactory::MockWavReaderFactory( | 25 MockWavReaderFactory::MockWavReaderFactory( |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 LOG(LS_VERBOSE) << "num_samples " << it->second.num_samples; | 60 LOG(LS_VERBOSE) << "num_samples " << it->second.num_samples; |
| 61 return std::unique_ptr<WavReaderInterface>( | 61 return std::unique_ptr<WavReaderInterface>( |
| 62 new MockWavReader(it->second.sample_rate, | 62 new MockWavReader(it->second.sample_rate, |
| 63 it->second.num_channels, | 63 it->second.num_channels, |
| 64 it->second.num_samples)); | 64 it->second.num_samples)); |
| 65 } | 65 } |
| 66 | 66 |
| 67 } // namespace conversational_speech | 67 } // namespace conversational_speech |
| 68 } // namespace test | 68 } // namespace test |
| 69 } // namespace webrtc | 69 } // namespace webrtc |
| OLD | NEW |