| 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 1b2b1d78fdbebfeb7b2811cfee50f0e1e92c7f17..62de50eacd43be46a9ef6a106f1fef00f8dd5752 100644
|
| --- a/webrtc/modules/audio_device/android/opensles_player.h
|
| +++ b/webrtc/modules/audio_device/android/opensles_player.h
|
| @@ -86,7 +86,10 @@ class OpenSLESPlayer {
|
| // Reads audio data in PCM format using the AudioDeviceBuffer.
|
| // Can be called both on the main thread (during Start()) and from the
|
| // internal audio thread while output streaming is active.
|
| - void EnqueuePlayoutData();
|
| + // If the |silence| flag is set, the audio is filled with zeros instead of
|
| + // asking the WebRTC layer for real audio data. This procedure is also known
|
| + // as audio priming.
|
| + void EnqueuePlayoutData(bool silence);
|
|
|
| // Allocate memory for audio buffers which will be used to render audio
|
| // via the SLAndroidSimpleBufferQueueItf interface.
|
|
|