Index: webrtc/modules/audio_device/android/audio_manager.cc |
diff --git a/webrtc/modules/audio_device/android/audio_manager.cc b/webrtc/modules/audio_device/android/audio_manager.cc |
index 81fabdf9fec08a996de2b057679dddbaf4f1276f..77099ab10bdc3b221f13ae7cd4413db9afc085b3 100644 |
--- a/webrtc/modules/audio_device/android/audio_manager.cc |
+++ b/webrtc/modules/audio_device/android/audio_manager.cc |
@@ -191,8 +191,10 @@ void AudioManager::OnCacheAudioParameters(JNIEnv* env, |
hardware_aec_ = hardware_aec; |
low_latency_playout_ = low_latency_output; |
// TODO(henrika): add support for stereo output. |
- playout_parameters_.reset(sample_rate, channels, output_buffer_size); |
- record_parameters_.reset(sample_rate, channels, input_buffer_size); |
+ playout_parameters_.reset(sample_rate, channels, |
+ static_cast<size_t>(output_buffer_size)); |
+ record_parameters_.reset(sample_rate, channels, |
+ static_cast<size_t>(input_buffer_size)); |
} |
const AudioParameters& AudioManager::GetPlayoutAudioParameters() { |