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

Unified Diff: media/base/audio_splicer.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/base/audio_splicer.cc
diff --git a/media/base/audio_splicer.cc b/media/base/audio_splicer.cc
index 0eb9b14928fe59e6dac723805c86fe7e5b03ac06..4178ceed2d53a46c0ae453afff54fad01c653f8f 100644
--- a/media/base/audio_splicer.cc
+++ b/media/base/audio_splicer.cc
@@ -70,7 +70,7 @@ class AudioStreamSanitizer {
// Similar to Reset(), but initializes the timestamp helper with the given
// parameters.
- void ResetTimestampState(int64 frame_count, base::TimeDelta base_timestamp);
+ void ResetTimestampState(int64_t frame_count, base::TimeDelta base_timestamp);
// Adds a new buffer full of samples or end of stream buffer to the splicer.
// Returns true if the buffer was accepted. False is returned if an error
@@ -124,7 +124,7 @@ void AudioStreamSanitizer::Reset() {
ResetTimestampState(0, kNoTimestamp());
}
-void AudioStreamSanitizer::ResetTimestampState(int64 frame_count,
+void AudioStreamSanitizer::ResetTimestampState(int64_t frame_count,
base::TimeDelta base_timestamp) {
output_buffers_.clear();
received_end_of_stream_ = false;

Powered by Google App Engine
This is Rietveld 408576698