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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 int32_t GetRecCodec(CodecInst& codec); | 221 int32_t GetRecCodec(CodecInst& codec); |
222 int32_t SetSendCodec(const CodecInst& codec); | 222 int32_t SetSendCodec(const CodecInst& codec); |
223 void SetBitRate(int bitrate_bps); | 223 void SetBitRate(int bitrate_bps); |
224 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); | 224 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); |
225 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); | 225 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); |
226 int32_t SetRecPayloadType(const CodecInst& codec); | 226 int32_t SetRecPayloadType(const CodecInst& codec); |
227 int32_t GetRecPayloadType(CodecInst& codec); | 227 int32_t GetRecPayloadType(CodecInst& codec); |
228 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); | 228 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); |
229 int SetOpusMaxPlaybackRate(int frequency_hz); | 229 int SetOpusMaxPlaybackRate(int frequency_hz); |
230 int SetOpusDtx(bool enable_dtx); | 230 int SetOpusDtx(bool enable_dtx); |
| 231 int GetOpusDtx(bool* enabled); |
231 | 232 |
232 // VoENetwork | 233 // VoENetwork |
233 int32_t RegisterExternalTransport(Transport* transport); | 234 int32_t RegisterExternalTransport(Transport* transport); |
234 int32_t DeRegisterExternalTransport(); | 235 int32_t DeRegisterExternalTransport(); |
235 int32_t ReceivedRTPPacket(const uint8_t* received_packet, | 236 int32_t ReceivedRTPPacket(const uint8_t* received_packet, |
236 size_t length, | 237 size_t length, |
237 const PacketTime& packet_time); | 238 const PacketTime& packet_time); |
238 int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); | 239 int32_t ReceivedRTCPPacket(const uint8_t* data, size_t length); |
239 | 240 |
240 // VoEFile | 241 // VoEFile |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; | 591 std::unique_ptr<RtpPacketSenderProxy> rtp_packet_sender_proxy_; |
591 | 592 |
592 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. | 593 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
593 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 594 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
594 }; | 595 }; |
595 | 596 |
596 } // namespace voe | 597 } // namespace voe |
597 } // namespace webrtc | 598 } // namespace webrtc |
598 | 599 |
599 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 600 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
OLD | NEW |