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

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

Issue 1482703002: Use ChannelProxy for most calls on voe::Channel in Audio[Receive|Send]Stream. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added ThreadChecker to ChannelProxy Created 5 years 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/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel.cc » ('j') | 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
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 int SetChannelOutputVolumeScaling(float scaling); 272 int SetChannelOutputVolumeScaling(float scaling);
273 int GetChannelOutputVolumeScaling(float& scaling) const; 273 int GetChannelOutputVolumeScaling(float& scaling) const;
274 274
275 // VoENetEqStats 275 // VoENetEqStats
276 int GetNetworkStatistics(NetworkStatistics& stats); 276 int GetNetworkStatistics(NetworkStatistics& stats);
277 void GetDecodingCallStatistics(AudioDecodingCallStats* stats) const; 277 void GetDecodingCallStatistics(AudioDecodingCallStats* stats) const;
278 278
279 // VoEVideoSync 279 // VoEVideoSync
280 bool GetDelayEstimate(int* jitter_buffer_delay_ms, 280 bool GetDelayEstimate(int* jitter_buffer_delay_ms,
281 int* playout_buffer_delay_ms) const; 281 int* playout_buffer_delay_ms) const;
282 uint32_t GetDelayEstimate() const;
282 int LeastRequiredDelayMs() const; 283 int LeastRequiredDelayMs() const;
283 int SetMinimumPlayoutDelay(int delayMs); 284 int SetMinimumPlayoutDelay(int delayMs);
284 int GetPlayoutTimestamp(unsigned int& timestamp); 285 int GetPlayoutTimestamp(unsigned int& timestamp);
285 int SetInitTimestamp(unsigned int timestamp); 286 int SetInitTimestamp(unsigned int timestamp);
286 int SetInitSequenceNumber(short sequenceNumber); 287 int SetInitSequenceNumber(short sequenceNumber);
287 288
288 // VoEVideoSyncExtended 289 // VoEVideoSyncExtended
289 int GetRtpRtcp(RtpRtcp** rtpRtcpModule, RtpReceiver** rtp_receiver) const; 290 int GetRtpRtcp(RtpRtcp** rtpRtcpModule, RtpReceiver** rtp_receiver) const;
290 291
291 // VoEDtmf 292 // VoEDtmf
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 rtc::scoped_ptr<NetworkPredictor> network_predictor_; 583 rtc::scoped_ptr<NetworkPredictor> network_predictor_;
583 // An associated send channel. 584 // An associated send channel.
584 rtc::scoped_ptr<CriticalSectionWrapper> assoc_send_channel_lock_; 585 rtc::scoped_ptr<CriticalSectionWrapper> assoc_send_channel_lock_;
585 ChannelOwner associate_send_channel_ GUARDED_BY(assoc_send_channel_lock_); 586 ChannelOwner associate_send_channel_ GUARDED_BY(assoc_send_channel_lock_);
586 }; 587 };
587 588
588 } // namespace voe 589 } // namespace voe
589 } // namespace webrtc 590 } // namespace webrtc
590 591
591 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 592 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/test/mock_voe_channel_proxy.h ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698