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

Unified Diff: webrtc/modules/audio_coding/main/interface/audio_coding_module.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: Rebased to latest revision of webrtc to resolve patching conflict on try bots. 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/main/interface/audio_coding_module.h
diff --git a/webrtc/modules/audio_coding/main/interface/audio_coding_module.h b/webrtc/modules/audio_coding/main/interface/audio_coding_module.h
index b7d9a91b2f8dcaa3c7355a0d65b3c0653532f728..29a1e854de3d76da736d10f2f80cca91db482c70 100644
--- a/webrtc/modules/audio_coding/main/interface/audio_coding_module.h
+++ b/webrtc/modules/audio_coding/main/interface/audio_coding_module.h
@@ -26,9 +26,10 @@ namespace webrtc {
// forward declarations
struct CodecInst;
struct WebRtcRTPHeader;
+class AudioEncoderMutable;
class AudioFrame;
+class RtcEventLog;
class RTPFragmentationHeader;
-class AudioEncoderMutable;
#define WEBRTC_10MS_PCM_AUDIO 960 // 16 bits super wideband 48 kHz
@@ -978,6 +979,16 @@ class AudioCodingModule {
// Disable NACK.
virtual void DisableNack() = 0;
+ ///////////////////////////////////////////////////////////////////////////
+ // void SetEventLog(RtcEventLog* event_log)
+ //
+ // Set an RtcEventLog object to enable logging of debug events inside the
hlundin-webrtc 2015/08/04 09:14:47 Sets...
ivoc 2015/08/05 07:39:04 Done.
+ // audio coding module.
hlundin-webrtc 2015/08/04 09:14:47 Explain that calling this function is optional, i.
ivoc 2015/08/05 07:39:04 Done.
+ //
+ // Input:
+ // -event_log : pointer to logging object.
+ virtual void SetEventLog(RtcEventLog* event_log) = 0;
+
//
// Get a list of packets to be retransmitted. |round_trip_time_ms| is an
// estimate of the round-trip-time (in milliseconds). Missing packets which

Powered by Google App Engine
This is Rietveld 408576698