Index: webrtc/modules/audio_device/android/audio_track_jni.cc |
diff --git a/webrtc/modules/audio_device/android/audio_track_jni.cc b/webrtc/modules/audio_device/android/audio_track_jni.cc |
index 58a4ca678f3c8078e9175120f723236ff445ce10..ecb0080a30ae71cb8aba67e7f15ce6f78acb9a44 100644 |
--- a/webrtc/modules/audio_device/android/audio_track_jni.cc |
+++ b/webrtc/modules/audio_device/android/audio_track_jni.cc |
@@ -15,6 +15,7 @@ |
#include "webrtc/base/arraysize.h" |
#include "webrtc/base/checks.h" |
+#include "webrtc/base/format_macros.h" |
#define TAG "AudioTrackJni" |
#define ALOGV(...) __android_log_print(ANDROID_LOG_VERBOSE, TAG, __VA_ARGS__) |
@@ -197,8 +198,8 @@ void AudioTrackJni::AttachAudioBuffer(AudioDeviceBuffer* audioBuffer) { |
const int sample_rate_hz = audio_parameters_.sample_rate(); |
ALOGD("SetPlayoutSampleRate(%d)", sample_rate_hz); |
audio_device_buffer_->SetPlayoutSampleRate(sample_rate_hz); |
- const int channels = audio_parameters_.channels(); |
- ALOGD("SetPlayoutChannels(%d)", channels); |
+ const size_t channels = audio_parameters_.channels(); |
+ ALOGD("SetPlayoutChannels(%" PRIuS ")", channels); |
audio_device_buffer_->SetPlayoutChannels(channels); |
} |