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 19 matching lines...) Expand all Loading... |
30 int SetBitRate(int channel, int bitrate_bps) override; | 30 int SetBitRate(int channel, int bitrate_bps) override; |
31 | 31 |
32 int GetRecCodec(int channel, CodecInst& codec) override; | 32 int GetRecCodec(int channel, CodecInst& codec) override; |
33 | 33 |
34 int SetSendCNPayloadType( | 34 int SetSendCNPayloadType( |
35 int channel, | 35 int channel, |
36 int type, | 36 int type, |
37 PayloadFrequencies frequency = kFreq16000Hz) override; | 37 PayloadFrequencies frequency = kFreq16000Hz) override; |
38 | 38 |
39 int SetRecPayloadType(int channel, const CodecInst& codec) override; | 39 int SetRecPayloadType(int channel, const CodecInst& codec) override; |
| 40 int SetRecPayloadType(int channel, |
| 41 int payload_type, |
| 42 const SdpAudioFormat& format) override; |
40 | 43 |
41 int GetRecPayloadType(int channel, CodecInst& codec) override; | 44 int GetRecPayloadType(int channel, CodecInst& codec) override; |
42 | 45 |
43 int SetFECStatus(int channel, bool enable) override; | 46 int SetFECStatus(int channel, bool enable) override; |
44 | 47 |
45 int GetFECStatus(int channel, bool& enabled) override; | 48 int GetFECStatus(int channel, bool& enabled) override; |
46 | 49 |
47 int SetVADStatus(int channel, | 50 int SetVADStatus(int channel, |
48 bool enable, | 51 bool enable, |
49 VadModes mode = kVadConventional, | 52 VadModes mode = kVadConventional, |
(...skipping 14 matching lines...) Expand all Loading... |
64 VoECodecImpl(voe::SharedData* shared); | 67 VoECodecImpl(voe::SharedData* shared); |
65 ~VoECodecImpl() override; | 68 ~VoECodecImpl() override; |
66 | 69 |
67 private: | 70 private: |
68 voe::SharedData* _shared; | 71 voe::SharedData* _shared; |
69 }; | 72 }; |
70 | 73 |
71 } // namespace webrtc | 74 } // namespace webrtc |
72 | 75 |
73 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H | 76 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H |
OLD | NEW |