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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 int GetVADStatus(int channel, | 52 int GetVADStatus(int channel, |
53 bool& enabled, | 53 bool& enabled, |
54 VadModes& mode, | 54 VadModes& mode, |
55 bool& disabledDTX) override; | 55 bool& disabledDTX) override; |
56 | 56 |
57 int SetOpusMaxPlaybackRate(int channel, int frequency_hz) override; | 57 int SetOpusMaxPlaybackRate(int channel, int frequency_hz) override; |
58 | 58 |
59 int SetOpusDtx(int channel, bool enable_dtx) override; | 59 int SetOpusDtx(int channel, bool enable_dtx) override; |
60 | 60 |
| 61 RtcEventLog* GetEventLog() override; |
| 62 |
61 protected: | 63 protected: |
62 VoECodecImpl(voe::SharedData* shared); | 64 VoECodecImpl(voe::SharedData* shared); |
63 ~VoECodecImpl() override; | 65 ~VoECodecImpl() override; |
64 | 66 |
65 private: | 67 private: |
66 void ACMToExternalCodecRepresentation(CodecInst& toInst, | 68 void ACMToExternalCodecRepresentation(CodecInst& toInst, |
67 const CodecInst& fromInst); | 69 const CodecInst& fromInst); |
68 | 70 |
69 void ExternalToACMCodecRepresentation(CodecInst& toInst, | 71 void ExternalToACMCodecRepresentation(CodecInst& toInst, |
70 const CodecInst& fromInst); | 72 const CodecInst& fromInst); |
71 | 73 |
72 voe::SharedData* _shared; | 74 voe::SharedData* _shared; |
73 }; | 75 }; |
74 | 76 |
75 } // namespace webrtc | 77 } // namespace webrtc |
76 | 78 |
77 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H | 79 #endif // WEBRTC_VOICE_ENGINE_VOE_CODEC_IMPL_H |
OLD | NEW |