diff options
Diffstat (limited to 'webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc')
-rw-r--r-- | webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc b/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc index f257210431..4f9f7ff7bb 100644 --- a/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc +++ b/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc @@ -9,8 +9,9 @@ */ #include "testing/gtest/include/gtest/gtest.h" +#include "webrtc/base/format_macros.h" #include "webrtc/base/scoped_ptr.h" -#include "webrtc/modules/audio_coding/codecs/opus/include/opus_interface.h" +#include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" #include "webrtc/test/testsupport/fileutils.h" using ::std::string; @@ -21,7 +22,7 @@ using ::testing::TestWithParam; namespace webrtc { // Define coding parameter as <channels, bit_rate, filename, extension>. -typedef tuple<int, int, string, string> coding_param; +typedef tuple<size_t, int, string, string> coding_param; typedef struct mode mode; struct mode { @@ -47,7 +48,7 @@ class OpusFecTest : public TestWithParam<coding_param> { int sampling_khz_; size_t block_length_sample_; - int channels_; + size_t channels_; int bit_rate_; size_t data_pointer_; @@ -68,7 +69,7 @@ class OpusFecTest : public TestWithParam<coding_param> { void OpusFecTest::SetUp() { channels_ = get<0>(GetParam()); bit_rate_ = get<1>(GetParam()); - printf("Coding %d channel signal at %d bps.\n", channels_, bit_rate_); + printf("Coding %" PRIuS " channel signal at %d bps.\n", channels_, bit_rate_); in_filename_ = test::ResourcePath(get<2>(GetParam()), get<3>(GetParam())); |