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

Unified Diff: talk/app/webrtc/mediastreamprovider.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 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 side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/mediastreamprovider.h
diff --git a/talk/app/webrtc/mediastreamprovider.h b/talk/app/webrtc/mediastreamprovider.h
index e903fdaca308da97ea08952068b854d9dd435339..9b8c52d21c04740198f445940d00d1e1f45097ba 100644
--- a/talk/app/webrtc/mediastreamprovider.h
+++ b/talk/app/webrtc/mediastreamprovider.h
@@ -45,17 +45,19 @@ namespace webrtc {
class AudioProviderInterface {
public:
// Enable/disable the audio playout of a remote audio track with |ssrc|.
- virtual void SetAudioPlayout(uint32 ssrc, bool enable,
+ virtual void SetAudioPlayout(uint32_t ssrc,
+ bool enable,
cricket::AudioRenderer* renderer) = 0;
// Enable/disable sending audio on the local audio track with |ssrc|.
// When |enable| is true |options| should be applied to the audio track.
- virtual void SetAudioSend(uint32 ssrc, bool enable,
+ virtual void SetAudioSend(uint32_t ssrc,
+ bool enable,
const cricket::AudioOptions& options,
cricket::AudioRenderer* renderer) = 0;
// Sets the audio playout volume of a remote audio track with |ssrc|.
// |volume| is in the range of [0, 10].
- virtual void SetAudioPlayoutVolume(uint32 ssrc, double volume) = 0;
+ virtual void SetAudioPlayoutVolume(uint32_t ssrc, double volume) = 0;
protected:
virtual ~AudioProviderInterface() {}
@@ -66,13 +68,15 @@ class AudioProviderInterface {
// PeerConnection.
class VideoProviderInterface {
public:
- virtual bool SetCaptureDevice(uint32 ssrc,
+ virtual bool SetCaptureDevice(uint32_t ssrc,
cricket::VideoCapturer* camera) = 0;
// Enable/disable the video playout of a remote video track with |ssrc|.
- virtual void SetVideoPlayout(uint32 ssrc, bool enable,
+ virtual void SetVideoPlayout(uint32_t ssrc,
+ bool enable,
cricket::VideoRenderer* renderer) = 0;
// Enable sending video on the local video track with |ssrc|.
- virtual void SetVideoSend(uint32 ssrc, bool enable,
+ virtual void SetVideoSend(uint32_t ssrc,
+ bool enable,
const cricket::VideoOptions* options) = 0;
protected:

Powered by Google App Engine
This is Rietveld 408576698