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

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: 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
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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 227
228 private: 228 private:
229 bool SetOptions(const AudioOptions& options); 229 bool SetOptions(const AudioOptions& options);
230 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs); 230 bool SetRecvCodecs(const std::vector<AudioCodec>& codecs);
231 bool SetSendCodecs(const std::vector<AudioCodec>& codecs); 231 bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
232 bool SetLocalSource(uint32_t ssrc, AudioSource* source); 232 bool SetLocalSource(uint32_t ssrc, AudioSource* source);
233 bool MuteStream(uint32_t ssrc, bool mute); 233 bool MuteStream(uint32_t ssrc, bool mute);
234 234
235 WebRtcVoiceEngine* engine() { return engine_; } 235 WebRtcVoiceEngine* engine() { return engine_; }
236 int GetLastEngineError() { return engine()->GetLastEngineError(); } 236 int GetLastEngineError() { return engine()->GetLastEngineError(); }
237 int GetOutputLevel(int channel);
238 void ChangePlayout(bool playout); 237 void ChangePlayout(bool playout);
239 int CreateVoEChannel(); 238 int CreateVoEChannel();
240 bool DeleteVoEChannel(int channel); 239 bool DeleteVoEChannel(int channel);
241 bool IsDefaultRecvStream(uint32_t ssrc) { 240 bool IsDefaultRecvStream(uint32_t ssrc) {
242 return default_recv_ssrc_ == static_cast<int64_t>(ssrc); 241 return default_recv_ssrc_ == static_cast<int64_t>(ssrc);
243 } 242 }
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 246
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_; 280 std::map<uint32_t, WebRtcAudioReceiveStream*> recv_streams_;
282 std::vector<webrtc::RtpExtension> recv_rtp_extensions_; 281 std::vector<webrtc::RtpExtension> recv_rtp_extensions_;
283 282
284 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_; 283 webrtc::AudioSendStream::Config::SendCodecSpec send_codec_spec_;
285 284
286 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel); 285 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(WebRtcVoiceMediaChannel);
287 }; 286 };
288 } // namespace cricket 287 } // namespace cricket
289 288
290 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_ 289 #endif // WEBRTC_MEDIA_ENGINE_WEBRTCVOICEENGINE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698