| Index: webrtc/modules/audio_device/android/opensles_player.cc
|
| diff --git a/webrtc/modules/audio_device/android/opensles_player.cc b/webrtc/modules/audio_device/android/opensles_player.cc
|
| index 0789ebf1baaf9d6c39fb77e8acfadd272e7d0777..63b448542d15d734ac0501da3c9da2df1431a610 100644
|
| --- a/webrtc/modules/audio_device/android/opensles_player.cc
|
| +++ b/webrtc/modules/audio_device/android/opensles_player.cc
|
| @@ -14,6 +14,7 @@
|
|
|
| #include "webrtc/base/arraysize.h"
|
| #include "webrtc/base/checks.h"
|
| +#include "webrtc/base/format_macros.h"
|
| #include "webrtc/modules/audio_device/android/audio_manager.h"
|
| #include "webrtc/modules/audio_device/android/fine_audio_buffer.h"
|
|
|
| @@ -175,14 +176,14 @@ void OpenSLESPlayer::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);
|
| CHECK(audio_device_buffer_);
|
| AllocateDataBuffers();
|
| }
|
|
|
| -SLDataFormat_PCM OpenSLESPlayer::CreatePCMConfiguration(int channels,
|
| +SLDataFormat_PCM OpenSLESPlayer::CreatePCMConfiguration(size_t channels,
|
| int sample_rate,
|
| int bits_per_sample) {
|
| ALOGD("CreatePCMConfiguration");
|
|
|