| Index: media/audio/android/opensles_output.cc
|
| diff --git a/media/audio/android/opensles_output.cc b/media/audio/android/opensles_output.cc
|
| index 7fffe3b21f2219d30a5058a43f746205c7e372d0..2a89f94552b05a6592009039249484e05aa2f282 100644
|
| --- a/media/audio/android/opensles_output.cc
|
| +++ b/media/audio/android/opensles_output.cc
|
| @@ -330,7 +330,7 @@ void OpenSLESOutputStream::FillBufferQueueNoLock() {
|
| // Read data from the registered client source.
|
| // TODO(henrika): Investigate if it is possible to get a more accurate
|
| // delay estimation.
|
| - const uint32 hardware_delay = buffer_size_bytes_;
|
| + const uint32_t hardware_delay = buffer_size_bytes_;
|
| int frames_filled =
|
| callback_->OnMoreData(audio_bus_.get(), hardware_delay, 0);
|
| if (frames_filled <= 0) {
|
| @@ -365,7 +365,7 @@ void OpenSLESOutputStream::SetupAudioBuffer() {
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
| DCHECK(!audio_data_[0]);
|
| for (int i = 0; i < kMaxNumOfBuffersInQueue; ++i) {
|
| - audio_data_[i] = new uint8[buffer_size_bytes_];
|
| + audio_data_[i] = new uint8_t[buffer_size_bytes_];
|
| }
|
| }
|
|
|
|
|