Index: webrtc/voice_engine/include/voe_codec.h |
diff --git a/webrtc/voice_engine/include/voe_codec.h b/webrtc/voice_engine/include/voe_codec.h |
index 5d94ac27365a91fa3df47901f28ad66422ab7b4f..a0703618e654a61c5dc378ccdf26af607ecf2a67 100644 |
--- a/webrtc/voice_engine/include/voe_codec.h |
+++ b/webrtc/voice_engine/include/voe_codec.h |
@@ -35,6 +35,7 @@ |
namespace webrtc { |
+class RtcEventLog; |
class VoiceEngine; |
class WEBRTC_DLLEXPORT VoECodec { |
@@ -131,6 +132,10 @@ class WEBRTC_DLLEXPORT VoECodec { |
// success, and -1 if failed. |
virtual int SetOpusDtx(int channel, bool enable_dtx) = 0; |
+ // Get a pointer to the event logging object associated with this Voice |
+ // Engine. |
Henrik Grunell WebRTC
2015/08/14 13:11:20
Also document the lifetime here. Until VoE is dest
ivoc
2015/08/14 13:23:13
Done.
|
+ virtual RtcEventLog* GetEventLog() = 0; |
Henrik Grunell WebRTC
2015/08/14 13:11:20
Just to verify: is the event log thread safe?
ivoc
2015/08/14 13:23:13
Yes, it is indeed thread safe.
Henrik Grunell WebRTC
2015/08/14 13:41:44
Acknowledged.
|
+ |
protected: |
VoECodec() {} |
virtual ~VoECodec() {} |