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

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

Issue 1417683006: modules: more interface -> include renames (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix last incorrectly wrapped pragma message Created 5 years, 1 month 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/common_types.h" 11 #include "webrtc/common_types.h"
12 #include "webrtc/modules/interface/module_common_types.h" 12 #include "webrtc/modules/include/module_common_types.h"
13 #include "webrtc/modules/utility/source/coder.h" 13 #include "webrtc/modules/utility/source/coder.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 AudioCoder::AudioCoder(uint32_t instanceID) 16 AudioCoder::AudioCoder(uint32_t instanceID)
17 : _acm(AudioCodingModule::Create(instanceID)), 17 : _acm(AudioCodingModule::Create(instanceID)),
18 _receiveCodec(), 18 _receiveCodec(),
19 _encodeTimestamp(0), 19 _encodeTimestamp(0),
20 _encodedData(NULL), 20 _encodedData(NULL),
21 _encodedLengthInBytes(0), 21 _encodedLengthInBytes(0),
22 _decodeTimestamp(0) 22 _decodeTimestamp(0)
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 uint32_t /* timeStamp */, 103 uint32_t /* timeStamp */,
104 const uint8_t* payloadData, 104 const uint8_t* payloadData,
105 size_t payloadSize, 105 size_t payloadSize,
106 const RTPFragmentationHeader* /* fragmentation*/) 106 const RTPFragmentationHeader* /* fragmentation*/)
107 { 107 {
108 memcpy(_encodedData,payloadData,sizeof(uint8_t) * payloadSize); 108 memcpy(_encodedData,payloadData,sizeof(uint8_t) * payloadSize);
109 _encodedLengthInBytes = payloadSize; 109 _encodedLengthInBytes = payloadSize;
110 return 0; 110 return 0;
111 } 111 }
112 } // namespace webrtc 112 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/audio_frame_operations_unittest.cc ('k') | webrtc/modules/utility/source/file_player_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698