Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: webrtc/voice_engine/file_player.cc

Issue 2622493002: Move FilePlayer and FileRecorder to Voice Engine (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/voice_engine/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"
18 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" 17 #include "webrtc/system_wrappers/include/critical_section_wrapper.h"
19 #include "webrtc/system_wrappers/include/logging.h" 18 #include "webrtc/system_wrappers/include/logging.h"
20 #include "webrtc/typedefs.h" 19 #include "webrtc/typedefs.h"
20 #include "webrtc/voice_engine/coder.h"
21 21
22 namespace webrtc { 22 namespace webrtc {
23 23
24 namespace { 24 namespace {
25 25
26 class FilePlayerImpl : public FilePlayer { 26 class FilePlayerImpl : public FilePlayer {
27 public: 27 public:
28 FilePlayerImpl(uint32_t instanceID, FileFormats fileFormat); 28 FilePlayerImpl(uint32_t instanceID, FileFormats fileFormat);
29 ~FilePlayerImpl() override; 29 ~FilePlayerImpl() override;
30 30
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // audio formats 383 // audio formats
384 return std::unique_ptr<FilePlayer>( 384 return std::unique_ptr<FilePlayer>(
385 new FilePlayerImpl(instanceID, fileFormat)); 385 new FilePlayerImpl(instanceID, fileFormat));
386 default: 386 default:
387 assert(false); 387 assert(false);
388 return nullptr; 388 return nullptr;
389 } 389 }
390 } 390 }
391 391
392 } // namespace webrtc 392 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698