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

Side by Side Diff: webrtc/media/engine/webrtcvoiceengine.h

Issue 2721003002: Remove usage of VoEVolumeControl from WVoE and Audio[Send|Receive]Stream. (Closed)
Patch Set: rebase+comment Created 3 years, 9 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 | « webrtc/media/engine/webrtcvoe.h ('k') | webrtc/media/engine/webrtcvoiceengine.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) 2004 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2004 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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 private: 231 private:
232 bool SetOptions(const AudioOptions& options); 232 bool SetOptions(const AudioOptions& options);
233 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); 233 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs);
234 bool SetSendCodecs(const std::vector<AudioCodec>& codecs); 234 bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
235 bool SetLocalSource(uint32_t ssrc, AudioSource* source); 235 bool SetLocalSource(uint32_t ssrc, AudioSource* source);
236 bool MuteStream(uint32_t ssrc, bool mute); 236 bool MuteStream(uint32_t ssrc, bool mute);
237 237
238 WebRtcVoiceEngine* engine() { return engine_; } 238 WebRtcVoiceEngine* engine() { return engine_; }
239 int GetLastEngineError() { return engine()->GetLastEngineError(); } 239 int GetLastEngineError() { return engine()->GetLastEngineError(); }
240 int GetOutputLevel(int channel);
241 void ChangePlayout(bool playout); 240 void ChangePlayout(bool playout);
242 int CreateVoEChannel(); 241 int CreateVoEChannel();
243 bool DeleteVoEChannel(int channel); 242 bool DeleteVoEChannel(int channel);
244 bool SetMaxSendBitrate(int bps); 243 bool SetMaxSendBitrate(int bps);
245 bool ValidateRtpParameters(const webrtc::RtpParameters& parameters); 244 bool ValidateRtpParameters(const webrtc::RtpParameters& parameters);
246 void SetupRecording(); 245 void SetupRecording();
247 // Check if 'ssrc' is an unsignaled stream, and if so mark it as not being 246 // Check if 'ssrc' is an unsignaled stream, and if so mark it as not being
248 // unsignaled anymore (i.e. it is now removed, or signaled), and return true. 247 // unsignaled anymore (i.e. it is now removed, or signaled), and return true.
249 bool MaybeDeregisterUnsignaledRecvStream(uint32_t ssrc); 248 bool MaybeDeregisterUnsignaledRecvStream(uint32_t ssrc);
250 249
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 284 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
286 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 285 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
287 286
288 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 287 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
289 288
290 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 289 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
291 }; 290 };
292 } // namespace cricket 291 } // namespace cricket
293 292
294 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 293 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoe.h ('k') | webrtc/media/engine/webrtcvoiceengine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698