Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Side by Side Diff: webrtc/voice_engine/voe_codec_impl.h

Issue 1267683002: Hooked up RtcEventLog. It lives in Voice Engine and pointers are propagated to ACM and Call. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Processed more comments from Henrik. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698