Index: webrtc/modules/audio_device/android/opensles_player.h |
diff --git a/webrtc/modules/audio_device/android/opensles_player.h b/webrtc/modules/audio_device/android/opensles_player.h |
index 2217fa099321ba4deaebf5b4a11df7a3fb7d7a41..79cc6f4df87c5ad635adc49db0c4bfeec1897cab 100644 |
--- a/webrtc/modules/audio_device/android/opensles_player.h |
+++ b/webrtc/modules/audio_device/android/opensles_player.h |
@@ -96,7 +96,7 @@ class OpenSLESPlayer { |
// Configures the SL_DATAFORMAT_PCM structure. |
SLDataFormat_PCM CreatePCMConfiguration(int channels, |
int sample_rate, |
- int bits_per_sample); |
+ size_t bits_per_sample); |
// Allocate memory for audio buffers which will be used to render audio |
// via the SLAndroidSimpleBufferQueueItf interface. |
@@ -145,7 +145,7 @@ class OpenSLESPlayer { |
// Number of bytes per audio buffer in each |audio_buffers_[i]|. |
// Typical sizes are 480 or 512 bytes corresponding to native output buffer |
// sizes of 240 or 256 audio frames respectively. |
- int bytes_per_buffer_; |
+ size_t bytes_per_buffer_; |
// Queue of audio buffers to be used by the player object for rendering |
// audio. They will be used in a Round-robin way and the size of each buffer |