Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Unified Diff: media/audio/virtual_audio_output_stream.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/audio/virtual_audio_output_stream.cc
diff --git a/media/audio/virtual_audio_output_stream.cc b/media/audio/virtual_audio_output_stream.cc
index 149f3cc430b6a81a42b4ded1a063014060fbd61c..81c40cc8c0868d5a68ce3e46b823b4417a2ba103 100644
--- a/media/audio/virtual_audio_output_stream.cc
+++ b/media/audio/virtual_audio_output_stream.cc
@@ -78,11 +78,11 @@ double VirtualAudioOutputStream::ProvideInput(AudioBus* audio_bus,
DCHECK(callback_);
DCHECK_GE(buffer_delay, base::TimeDelta());
- const int64 upstream_delay_in_bytes =
- params_.GetBytesPerSecond() * buffer_delay /
- base::TimeDelta::FromSeconds(1);
+ const int64_t upstream_delay_in_bytes = params_.GetBytesPerSecond() *
+ buffer_delay /
+ base::TimeDelta::FromSeconds(1);
const int frames = callback_->OnMoreData(
- audio_bus, static_cast<uint32>(upstream_delay_in_bytes), 0);
+ audio_bus, static_cast<uint32_t>(upstream_delay_in_bytes), 0);
if (frames < audio_bus->frames())
audio_bus->ZeroFramesPartial(frames, audio_bus->frames() - frames);

Powered by Google App Engine
This is Rietveld 408576698