Index: webrtc/voice_engine/voe_codec_impl.cc |
diff --git a/webrtc/voice_engine/voe_codec_impl.cc b/webrtc/voice_engine/voe_codec_impl.cc |
index b8fa5cefaeae460c5673992659fc12646dde2ecc..14e8482dfdc4ac102a4919fe79d825cf5e59809a 100644 |
--- a/webrtc/voice_engine/voe_codec_impl.cc |
+++ b/webrtc/voice_engine/voe_codec_impl.cc |
@@ -10,6 +10,7 @@ |
#include "webrtc/voice_engine/voe_codec_impl.h" |
+#include "webrtc/base/format_macros.h" |
#include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h" |
#include "webrtc/system_wrappers/interface/critical_section_wrapper.h" |
#include "webrtc/system_wrappers/interface/trace.h" |
@@ -68,7 +69,7 @@ int VoECodecImpl::GetCodec(int index, CodecInst& codec) { |
ACMToExternalCodecRepresentation(codec, acmCodec); |
WEBRTC_TRACE(kTraceStateInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"GetCodec() => plname=%s, pacsize=%d, plfreq=%d, pltype=%d, " |
- "channels=%d, rate=%d", |
+ "channels=%" PRIuS ", rate=%d", |
codec.plname, codec.pacsize, codec.plfreq, codec.pltype, |
codec.channels, codec.rate); |
return 0; |
@@ -82,7 +83,7 @@ int VoECodecImpl::SetSendCodec(int channel, const CodecInst& codec) { |
"SetSendCodec(channel=%d, codec)", channel); |
WEBRTC_TRACE(kTraceInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"codec: plname=%s, pacsize=%d, plfreq=%d, pltype=%d, " |
- "channels=%d, rate=%d", |
+ "channels=%" PRIuS ", rate=%d", |
codec.plname, codec.pacsize, codec.plfreq, codec.pltype, |
codec.channels, codec.rate); |
if (!_shared->statistics().Initialized()) { |
@@ -152,7 +153,7 @@ int VoECodecImpl::GetSendCodec(int channel, CodecInst& codec) { |
ACMToExternalCodecRepresentation(codec, acmCodec); |
WEBRTC_TRACE(kTraceStateInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"GetSendCodec() => plname=%s, pacsize=%d, plfreq=%d, " |
- "channels=%d, rate=%d", |
+ "channels=%" PRIuS ", rate=%d", |
codec.plname, codec.pacsize, codec.plfreq, codec.channels, |
codec.rate); |
return 0; |
@@ -193,7 +194,7 @@ int VoECodecImpl::GetRecCodec(int channel, CodecInst& codec) { |
ACMToExternalCodecRepresentation(codec, acmCodec); |
WEBRTC_TRACE(kTraceStateInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"GetRecCodec() => plname=%s, pacsize=%d, plfreq=%d, " |
- "channels=%d, rate=%d", |
+ "channels=%" PRIuS ", rate=%d", |
codec.plname, codec.pacsize, codec.plfreq, codec.channels, |
codec.rate); |
return 0; |
@@ -203,7 +204,7 @@ int VoECodecImpl::SetRecPayloadType(int channel, const CodecInst& codec) { |
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1), |
"SetRecPayloadType(channel=%d, codec)", channel); |
WEBRTC_TRACE(kTraceInfo, kTraceVoice, VoEId(_shared->instance_id(), -1), |
- "codec: plname=%s, plfreq=%d, pltype=%d, channels=%u, " |
+ "codec: plname=%s, plfreq=%d, pltype=%d, channels=%" PRIuS ", " |
"pacsize=%d, rate=%d", |
codec.plname, codec.plfreq, codec.pltype, codec.channels, |
codec.pacsize, codec.rate); |