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

Unified Diff: webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc

Issue 1967503002: Audio codec usage statistics (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Minor fixes Created 4 years, 7 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/codecs/g722/audio_encoder_g722.cc
diff --git a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc
index 256013266d6c553c6fd11f087fe1fc2bcaf28fb4..1b392d91019ff171fb4cc71766bf285f474b863a 100644
--- a/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc
+++ b/webrtc/modules/audio_coding/codecs/g722/audio_encoder_g722.cc
@@ -14,6 +14,7 @@
#include "webrtc/base/checks.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/audio_coding/codecs/g722/g722_interface.h"
+#include "webrtc/modules/audio_coding/codecs/audio_encoder.h"
hlundin-webrtc 2016/05/13 09:54:23 You don't have to include audio_encoder.h. From th
aleloi 2016/05/13 10:56:07 Done.
namespace webrtc {
@@ -145,6 +146,7 @@ AudioEncoder::EncodedInfo AudioEncoderG722::EncodeImpl(
});
info.encoded_timestamp = first_timestamp_in_buffer_;
info.payload_type = payload_type_;
+ info.encoder_type = CodecType::kG722;
return info;
}

Powered by Google App Engine
This is Rietveld 408576698