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

Side by Side Diff: talk/app/webrtc/rtpsender.h

Issue 1316523002: Convert channel counts to size_t. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix compile Created 4 years, 11 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
« no previous file with comments | « talk/app/webrtc/mediastreaminterface.h ('k') | talk/app/webrtc/rtpsender.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 * libjingle 2 * libjingle
3 * Copyright 2015 Google Inc. 3 * Copyright 2015 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 public cricket::AudioRenderer { 50 public cricket::AudioRenderer {
51 public: 51 public:
52 LocalAudioSinkAdapter(); 52 LocalAudioSinkAdapter();
53 virtual ~LocalAudioSinkAdapter(); 53 virtual ~LocalAudioSinkAdapter();
54 54
55 private: 55 private:
56 // AudioSinkInterface implementation. 56 // AudioSinkInterface implementation.
57 void OnData(const void* audio_data, 57 void OnData(const void* audio_data,
58 int bits_per_sample, 58 int bits_per_sample,
59 int sample_rate, 59 int sample_rate,
60 int number_of_channels, 60 size_t number_of_channels,
61 size_t number_of_frames) override; 61 size_t number_of_frames) override;
62 62
63 // cricket::AudioRenderer implementation. 63 // cricket::AudioRenderer implementation.
64 void SetSink(cricket::AudioRenderer::Sink* sink) override; 64 void SetSink(cricket::AudioRenderer::Sink* sink) override;
65 65
66 cricket::AudioRenderer::Sink* sink_; 66 cricket::AudioRenderer::Sink* sink_;
67 // Critical section protecting |sink_|. 67 // Critical section protecting |sink_|.
68 rtc::CriticalSection lock_; 68 rtc::CriticalSection lock_;
69 }; 69 };
70 70
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 VideoProviderInterface* provider_; 178 VideoProviderInterface* provider_;
179 rtc::scoped_refptr<VideoTrackInterface> track_; 179 rtc::scoped_refptr<VideoTrackInterface> track_;
180 uint32_t ssrc_ = 0; 180 uint32_t ssrc_ = 0;
181 bool cached_track_enabled_ = false; 181 bool cached_track_enabled_ = false;
182 bool stopped_ = false; 182 bool stopped_ = false;
183 }; 183 };
184 184
185 } // namespace webrtc 185 } // namespace webrtc
186 186
187 #endif // TALK_APP_WEBRTC_RTPSENDER_H_ 187 #endif // TALK_APP_WEBRTC_RTPSENDER_H_
OLDNEW
« no previous file with comments | « talk/app/webrtc/mediastreaminterface.h ('k') | talk/app/webrtc/rtpsender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698