Index: webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc |
diff --git a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc |
index 49750c26c8702fcc881e24147f69135b2b6caf89..be04ad6c178827faa8c29a1104b451f8ad6db05c 100644 |
--- a/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc |
+++ b/webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.cc |
@@ -12,6 +12,7 @@ |
#include "webrtc/modules/audio_coding/neteq/tools/neteq_external_decoder_test.h" |
#include "testing/gtest/include/gtest/gtest.h" |
+#include "webrtc/base/format_macros.h" |
namespace webrtc { |
namespace test { |
@@ -21,11 +22,11 @@ NetEqExternalDecoderTest::NetEqExternalDecoderTest(NetEqDecoder codec, |
: codec_(codec), |
decoder_(decoder), |
sample_rate_hz_(CodecSampleRateHz(codec_)), |
- channels_(static_cast<int>(decoder_->Channels())) { |
+ channels_(decoder_->Channels()) { |
NetEq::Config config; |
config.sample_rate_hz = sample_rate_hz_; |
neteq_.reset(NetEq::Create(config)); |
- printf("%d\n", channels_); |
+ printf("%" PRIuS "\n", channels_); |
} |
void NetEqExternalDecoderTest::Init() { |
@@ -48,7 +49,7 @@ size_t NetEqExternalDecoderTest::GetOutputAudio(size_t max_length, |
NetEqOutputType* output_type) { |
// Get audio from regular instance. |
size_t samples_per_channel; |
- int num_channels; |
+ size_t num_channels; |
EXPECT_EQ(NetEq::kOK, |
neteq_->GetAudio(max_length, |
output, |