| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 void SetBitRate(int bitrate_bps, int64_t probing_interval_ms); | 183 void SetBitRate(int bitrate_bps, int64_t probing_interval_ms); |
| 184 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); | 184 int32_t SetVADStatus(bool enableVAD, ACMVADMode mode, bool disableDTX); |
| 185 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); | 185 int32_t GetVADStatus(bool& enabledVAD, ACMVADMode& mode, bool& disabledDTX); |
| 186 int32_t SetRecPayloadType(const CodecInst& codec); | 186 int32_t SetRecPayloadType(const CodecInst& codec); |
| 187 int32_t SetRecPayloadType(int payload_type, const SdpAudioFormat& format); | 187 int32_t SetRecPayloadType(int payload_type, const SdpAudioFormat& format); |
| 188 int32_t GetRecPayloadType(CodecInst& codec); | 188 int32_t GetRecPayloadType(CodecInst& codec); |
| 189 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); | 189 int32_t SetSendCNPayloadType(int type, PayloadFrequencies frequency); |
| 190 int SetOpusMaxPlaybackRate(int frequency_hz); | 190 int SetOpusMaxPlaybackRate(int frequency_hz); |
| 191 int SetOpusDtx(bool enable_dtx); | 191 int SetOpusDtx(bool enable_dtx); |
| 192 int GetOpusDtx(bool* enabled); | 192 int GetOpusDtx(bool* enabled); |
| 193 int SetOpusCbr(bool enable_cbr); |
| 194 int GetOpusCbr(bool* enabled); |
| 193 bool EnableAudioNetworkAdaptor(const std::string& config_string); | 195 bool EnableAudioNetworkAdaptor(const std::string& config_string); |
| 194 void DisableAudioNetworkAdaptor(); | 196 void DisableAudioNetworkAdaptor(); |
| 195 void SetReceiverFrameLengthRange(int min_frame_length_ms, | 197 void SetReceiverFrameLengthRange(int min_frame_length_ms, |
| 196 int max_frame_length_ms); | 198 int max_frame_length_ms); |
| 197 | 199 |
| 198 // VoENetwork | 200 // VoENetwork |
| 199 int32_t RegisterExternalTransport(Transport* transport); | 201 int32_t RegisterExternalTransport(Transport* transport); |
| 200 int32_t DeRegisterExternalTransport(); | 202 int32_t DeRegisterExternalTransport(); |
| 201 int32_t ReceivedRTPPacket(const uint8_t* received_packet, | 203 int32_t ReceivedRTPPacket(const uint8_t* received_packet, |
| 202 size_t length, | 204 size_t length, |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; | 505 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; |
| 504 | 506 |
| 505 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. | 507 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. |
| 506 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; | 508 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; |
| 507 }; | 509 }; |
| 508 | 510 |
| 509 } // namespace voe | 511 } // namespace voe |
| 510 } // namespace webrtc | 512 } // namespace webrtc |
| 511 | 513 |
| 512 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ | 514 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ |
| OLD | NEW |