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

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

Issue 2536753002: Relanding "Pass time constant to bwe smoothing filter." (Closed)
Patch Set: rebasing Created 4 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/video/video_send_stream.cc ('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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 int32_t StartSend(); 185 int32_t StartSend();
186 int32_t StopSend(); 186 int32_t StopSend();
187 void ResetDiscardedPacketCount(); 187 void ResetDiscardedPacketCount();
188 int32_t RegisterVoiceEngineObserver(VoiceEngineObserver& observer); 188 int32_t RegisterVoiceEngineObserver(VoiceEngineObserver& observer);
189 int32_t DeRegisterVoiceEngineObserver(); 189 int32_t DeRegisterVoiceEngineObserver();
190 190
191 // VoECodec 191 // VoECodec
192 int32_t GetSendCodec(CodecInst& codec); 192 int32_t GetSendCodec(CodecInst& codec);
193 int32_t GetRecCodec(CodecInst& codec); 193 int32_t GetRecCodec(CodecInst& codec);
194 int32_t SetSendCodec(const CodecInst& codec); 194 int32_t SetSendCodec(const CodecInst& codec);
195 void SetBitRate(int bitrate_bps); 195 void SetBitRate(int bitrate_bps, int64_t probing_interval_ms);
196 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); 196 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX);
197 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); 197 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX);
198 int32_t SetRecPayloadType(const CodecInst& codec); 198 int32_t SetRecPayloadType(const CodecInst& codec);
199 int32_t GetRecPayloadType(CodecInst& codec); 199 int32_t GetRecPayloadType(CodecInst& codec);
200 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); 200 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency);
201 int SetOpusMaxPlaybackRate(int frequency_hz); 201 int SetOpusMaxPlaybackRate(int frequency_hz);
202 int SetOpusDtx(bool enable_dtx); 202 int SetOpusDtx(bool enable_dtx);
203 int GetOpusDtx(bool* enabled); 203 int GetOpusDtx(bool* enabled);
204 bool EnableAudioNetworkAdaptor(const std::string& config_string); 204 bool EnableAudioNetworkAdaptor(const std::string& config_string);
205 void DisableAudioNetworkAdaptor(); 205 void DisableAudioNetworkAdaptor();
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 545 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
546 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 546 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
547 547
548 SmoothingFilterImpl bitrate_smoother_; 548 SmoothingFilterImpl bitrate_smoother_;
549 }; 549 };
550 550
551 } // namespace voe 551 } // namespace voe
552 } // namespace webrtc 552 } // namespace webrtc
553 553
554 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 554 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698