| Index: webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc
|
| 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 cb895a5d9d071f8e3a92ce6e0c1c56d3f9d0839b..4f9f7ff7bb0bcb0ff2ad645acd169edaf5d6cb9e 100644
|
| --- a/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/opus/opus_fec_test.cc
|
| @@ -9,6 +9,7 @@
|
| */
|
|
|
| #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/opus_interface.h"
|
| #include "webrtc/test/testsupport/fileutils.h"
|
| @@ -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()));
|
|
|
|
|