| Index: media/audio/win/audio_low_latency_output_win.cc
|
| diff --git a/media/audio/win/audio_low_latency_output_win.cc b/media/audio/win/audio_low_latency_output_win.cc
|
| index 9ead48a08e28be16727530e54e01e3667cd62009..23467f79ce92a646d0230d92910cb7c41ddc4c32 100644
|
| --- a/media/audio/win/audio_low_latency_output_win.cc
|
| +++ b/media/audio/win/audio_low_latency_output_win.cc
|
| @@ -440,7 +440,7 @@ bool WASAPIAudioOutputStream::RenderAudioFromSource(UINT64 device_frequency) {
|
|
|
| HRESULT hr = S_FALSE;
|
| UINT32 num_queued_frames = 0;
|
| - uint8* audio_data = NULL;
|
| + uint8_t* audio_data = NULL;
|
|
|
| // Contains how much new data we can write to the buffer without
|
| // the risk of overwriting previously written data that the audio
|
| @@ -509,7 +509,7 @@ bool WASAPIAudioOutputStream::RenderAudioFromSource(UINT64 device_frequency) {
|
| // can typically be utilized by an acoustic echo-control (AEC)
|
| // unit at the render side.
|
| UINT64 position = 0;
|
| - uint32 audio_delay_bytes = 0;
|
| + uint32_t audio_delay_bytes = 0;
|
| hr = audio_clock_->GetPosition(&position, NULL);
|
| if (SUCCEEDED(hr)) {
|
| // Stream position of the sample that is currently playing
|
| @@ -534,7 +534,7 @@ bool WASAPIAudioOutputStream::RenderAudioFromSource(UINT64 device_frequency) {
|
|
|
| int frames_filled =
|
| source_->OnMoreData(audio_bus_.get(), audio_delay_bytes, 0);
|
| - uint32 num_filled_bytes = frames_filled * format_.Format.nBlockAlign;
|
| + uint32_t num_filled_bytes = frames_filled * format_.Format.nBlockAlign;
|
| DCHECK_LE(num_filled_bytes, packet_size_bytes_);
|
|
|
| // Note: If this ever changes to output raw float the data must be
|
| @@ -558,7 +558,9 @@ bool WASAPIAudioOutputStream::RenderAudioFromSource(UINT64 device_frequency) {
|
| }
|
|
|
| HRESULT WASAPIAudioOutputStream::ExclusiveModeInitialization(
|
| - IAudioClient* client, HANDLE event_handle, uint32* endpoint_buffer_size) {
|
| + IAudioClient* client,
|
| + HANDLE event_handle,
|
| + uint32_t* endpoint_buffer_size) {
|
| DCHECK_EQ(share_mode_, AUDCLNT_SHAREMODE_EXCLUSIVE);
|
|
|
| float f = (1000.0 * packet_size_frames_) / format_.Format.nSamplesPerSec;
|
|
|