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

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

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 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
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
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ACMAMRPackingFormat amrFormat = AMRFileStorage, 70 ACMAMRPackingFormat amrFormat = AMRFileStorage,
71 bool videoOnly = false) 71 bool videoOnly = false)
72 { 72 {
73 return -1; 73 return -1;
74 } 74 }
75 virtual int32_t RecordVideoToFile(const VideoFrame& videoFrame) { 75 virtual int32_t RecordVideoToFile(const VideoFrame& videoFrame) {
76 return -1; 76 return -1;
77 } 77 }
78 78
79 protected: 79 protected:
80 virtual int32_t WriteEncodedAudioData( 80 int32_t WriteEncodedAudioData(const int8_t* audioBuffer,
81 const int8_t* audioBuffer, 81 size_t bufferLength);
82 size_t bufferLength,
83 uint16_t millisecondsOfData,
84 const TickTime* playoutTS);
85 82
86 int32_t SetUpAudioEncoder(); 83 int32_t SetUpAudioEncoder();
87 84
88 uint32_t _instanceID; 85 uint32_t _instanceID;
89 FileFormats _fileFormat; 86 FileFormats _fileFormat;
90 MediaFile* _moduleFile; 87 MediaFile* _moduleFile;
91 88
92 private: 89 private:
93 CodecInst codec_info_; 90 CodecInst codec_info_;
94 ACMAMRPackingFormat _amrFormat; 91 ACMAMRPackingFormat _amrFormat;
95 92
96 int8_t _audioBuffer[MAX_AUDIO_BUFFER_IN_BYTES]; 93 int8_t _audioBuffer[MAX_AUDIO_BUFFER_IN_BYTES];
97 AudioCoder _audioEncoder; 94 AudioCoder _audioEncoder;
98 Resampler _audioResampler; 95 Resampler _audioResampler;
99 }; 96 };
100 } // namespace webrtc 97 } // namespace webrtc
101 #endif // WEBRTC_MODULES_UTILITY_SOURCE_FILE_RECORDER_IMPL_H_ 98 #endif // WEBRTC_MODULES_UTILITY_SOURCE_FILE_RECORDER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698