OLD | NEW |
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, int64_t probing_interval_ms); | 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 SetRecPayloadType(int payload_type, const SdpAudioFormat& format); |
199 int32_t GetRecPayloadType(CodecInst& codec); | 200 int32_t GetRecPayloadType(CodecInst& codec); |
200 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); | 201 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); |
201 int SetOpusMaxPlaybackRate(int frequency_hz); | 202 int SetOpusMaxPlaybackRate(int frequency_hz); |
202 int SetOpusDtx(bool enable_dtx); | 203 int SetOpusDtx(bool enable_dtx); |
203 int GetOpusDtx(bool* enabled); | 204 int GetOpusDtx(bool* enabled); |
204 bool EnableAudioNetworkAdaptor(const std::string& config_string); | 205 bool EnableAudioNetworkAdaptor(const std::string& config_string); |
205 void DisableAudioNetworkAdaptor(); | 206 void DisableAudioNetworkAdaptor(); |
206 void SetReceiverFrameLengthRange(int min_frame_length_ms, | 207 void SetReceiverFrameLengthRange(int min_frame_length_ms, |
207 int max_frame_length_ms); | 208 int max_frame_length_ms); |
208 | 209 |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
552 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 553 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
553 | 554 |
554 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. | 555 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
555 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 556 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
556 }; | 557 }; |
557 | 558 |
558 } // namespace voe | 559 } // namespace voe |
559 } // namespace webrtc | 560 } // namespace webrtc |
560 | 561 |
561 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 562 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
OLD | NEW |