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

Side by Side Diff: webrtc/voice_engine/channel.h

Issue 2307533004: Moving/renaming webrtc/common.h. (Closed)
Patch Set: Comments+small fixes Created 4 years, 3 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 24 matching lines...) Expand all
35 #include "webrtc/voice_engine/shared_data.h" 35 #include "webrtc/voice_engine/shared_data.h"
36 #include "webrtc/voice_engine/voice_engine_defines.h" 36 #include "webrtc/voice_engine/voice_engine_defines.h"
37 37
38 namespace rtc { 38 namespace rtc {
39 class TimestampWrapAroundHandler; 39 class TimestampWrapAroundHandler;
40 } 40 }
41 41
42 namespace webrtc { 42 namespace webrtc {
43 43
44 class AudioDeviceModule; 44 class AudioDeviceModule;
45 class Config;
46 class FileWrapper; 45 class FileWrapper;
47 class PacketRouter; 46 class PacketRouter;
48 class ProcessThread; 47 class ProcessThread;
49 class RateLimiter; 48 class RateLimiter;
50 class ReceiveStatistics; 49 class ReceiveStatistics;
51 class RemoteNtpTimeEstimator; 50 class RemoteNtpTimeEstimator;
52 class RtcEventLog; 51 class RtcEventLog;
53 class RTPPayloadRegistry; 52 class RTPPayloadRegistry;
54 class RtpReceiver; 53 class RtpReceiver;
55 class RTPReceiverAudio; 54 class RTPReceiverAudio;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 public: 167 public:
169 friend class VoERtcpObserver; 168 friend class VoERtcpObserver;
170 169
171 enum { KNumSocketThreads = 1 }; 170 enum { KNumSocketThreads = 1 };
172 enum { KNumberOfSocketBuffers = 8 }; 171 enum { KNumberOfSocketBuffers = 8 };
173 virtual ~Channel(); 172 virtual ~Channel();
174 static int32_t CreateChannel( 173 static int32_t CreateChannel(
175 Channel*& channel, 174 Channel*& channel,
176 int32_t channelId, 175 int32_t channelId,
177 uint32_t instanceId, 176 uint32_t instanceId,
178 const Config& config, 177 const AudioCodingModule::Config& acm_config);
179 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory);
180 Channel(int32_t channelId, 178 Channel(int32_t channelId,
181 uint32_t instanceId, 179 uint32_t instanceId,
182 const Config& config, 180 const AudioCodingModule::Config& acm_config);
183 const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory);
184 int32_t Init(); 181 int32_t Init();
185 int32_t SetEngineInformation(Statistics& engineStatistics, 182 int32_t SetEngineInformation(Statistics& engineStatistics,
186 OutputMixer& outputMixer, 183 OutputMixer& outputMixer,
187 TransmitMixer& transmitMixer, 184 TransmitMixer& transmitMixer,
188 ProcessThread& moduleProcessThread, 185 ProcessThread& moduleProcessThread,
189 AudioDeviceModule& audioDeviceModule, 186 AudioDeviceModule& audioDeviceModule,
190 VoiceEngineObserver* voiceEngineObserver, 187 VoiceEngineObserver* voiceEngineObserver,
191 rtc::CriticalSection* callbackCritSect); 188 rtc::CriticalSection* callbackCritSect);
192 int32_t UpdateLocalTimeStamp(); 189 int32_t UpdateLocalTimeStamp();
193 190
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
584 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 581 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
585 582
586 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 583 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
587 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 584 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
588 }; 585 };
589 586
590 } // namespace voe 587 } // namespace voe
591 } // namespace webrtc 588 } // namespace webrtc
592 589
593 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 590 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698