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

Side by Side Diff: webrtc/modules/utility/source/file_recorder_impl.cc

Issue 2033433004: Remove the unused video stuff in FilePlayer and FileRecorder (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « webrtc/modules/utility/source/file_recorder_impl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/common_video/libyuv/include/webrtc_libyuv.h"
12 #include "webrtc/engine_configurations.h" 11 #include "webrtc/engine_configurations.h"
13 #include "webrtc/modules/media_file/media_file.h" 12 #include "webrtc/modules/media_file/media_file.h"
14 #include "webrtc/modules/utility/source/file_recorder_impl.h" 13 #include "webrtc/modules/utility/source/file_recorder_impl.h"
15 #include "webrtc/system_wrappers/include/logging.h" 14 #include "webrtc/system_wrappers/include/logging.h"
16 15
17 namespace webrtc { 16 namespace webrtc {
18 FileRecorder* FileRecorder::CreateFileRecorder(uint32_t instanceID, 17 FileRecorder* FileRecorder::CreateFileRecorder(uint32_t instanceID,
19 FileFormats fileFormat) 18 FileFormats fileFormat)
20 { 19 {
21 return new FileRecorderImpl(instanceID, fileFormat); 20 return new FileRecorderImpl(instanceID, fileFormat);
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 codecInst = codec_info_; 250 codecInst = codec_info_;
252 return 0; 251 return 0;
253 } 252 }
254 253
255 int32_t FileRecorderImpl::WriteEncodedAudioData(const int8_t* audioBuffer, 254 int32_t FileRecorderImpl::WriteEncodedAudioData(const int8_t* audioBuffer,
256 size_t bufferLength) 255 size_t bufferLength)
257 { 256 {
258 return _moduleFile->IncomingAudioData(audioBuffer, bufferLength); 257 return _moduleFile->IncomingAudioData(audioBuffer, bufferLength);
259 } 258 }
260 } // namespace webrtc 259 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/file_recorder_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698