| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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/utility/include/file_player.h" | 11 #include "webrtc/modules/utility/include/file_player.h" |
| 12 | 12 |
| 13 #include "webrtc/common_audio/resampler/include/resampler.h" | 13 #include "webrtc/common_audio/resampler/include/resampler.h" |
| 14 #include "webrtc/common_types.h" | 14 #include "webrtc/common_types.h" |
| 15 #include "webrtc/modules/media_file/media_file.h" | 15 #include "webrtc/modules/media_file/media_file.h" |
| 16 #include "webrtc/modules/media_file/media_file_defines.h" | 16 #include "webrtc/modules/media_file/media_file_defines.h" |
| 17 #include "webrtc/modules/utility/source/coder.h" | 17 #include "webrtc/modules/utility/source/coder.h" |
| 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 19 #include "webrtc/system_wrappers/include/logging.h" | 19 #include "webrtc/system_wrappers/include/logging.h" |
| 20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
| 21 #include "webrtc/voice_engine_configurations.h" | |
| 22 | 21 |
| 23 namespace webrtc { | 22 namespace webrtc { |
| 24 | 23 |
| 25 namespace { | 24 namespace { |
| 26 | 25 |
| 27 class FilePlayerImpl : public FilePlayer { | 26 class FilePlayerImpl : public FilePlayer { |
| 28 public: | 27 public: |
| 29 FilePlayerImpl(uint32_t instanceID, FileFormats fileFormat); | 28 FilePlayerImpl(uint32_t instanceID, FileFormats fileFormat); |
| 30 ~FilePlayerImpl() override; | 29 ~FilePlayerImpl() override; |
| 31 | 30 |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 // audio formats | 383 // audio formats |
| 385 return std::unique_ptr<FilePlayer>( | 384 return std::unique_ptr<FilePlayer>( |
| 386 new FilePlayerImpl(instanceID, fileFormat)); | 385 new FilePlayerImpl(instanceID, fileFormat)); |
| 387 default: | 386 default: |
| 388 assert(false); | 387 assert(false); |
| 389 return nullptr; | 388 return nullptr; |
| 390 } | 389 } |
| 391 } | 390 } |
| 392 | 391 |
| 393 } // namespace webrtc | 392 } // namespace webrtc |
| OLD | NEW |