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

Unified Diff: media/base/audio_timestamp_helper.h

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_timestamp_helper.h
diff --git a/media/base/audio_timestamp_helper.h b/media/base/audio_timestamp_helper.h
index 1da8b4a7cda6d3ca796d69ea0288663ad2235fb2..68622096869496fba17c4f46449248a5e09da61d 100644
--- a/media/base/audio_timestamp_helper.h
+++ b/media/base/audio_timestamp_helper.h
@@ -33,7 +33,7 @@ class MEDIA_EXPORT AudioTimestampHelper {
void SetBaseTimestamp(base::TimeDelta base_timestamp);
base::TimeDelta base_timestamp() const;
- int64 frame_count() const { return frame_count_; }
+ int64_t frame_count() const { return frame_count_; }
// Adds |frame_count| to the frame counter.
// Note: SetBaseTimestamp() must be called with a value other than
@@ -52,17 +52,17 @@ class MEDIA_EXPORT AudioTimestampHelper {
// Returns the number of frames needed to reach the target timestamp.
// Note: |target| must be >= |base_timestamp_|.
- int64 GetFramesToTarget(base::TimeDelta target) const;
+ int64_t GetFramesToTarget(base::TimeDelta target) const;
private:
- base::TimeDelta ComputeTimestamp(int64 frame_count) const;
+ base::TimeDelta ComputeTimestamp(int64_t frame_count) const;
double microseconds_per_frame_;
base::TimeDelta base_timestamp_;
// Number of frames accumulated by AddFrames() calls.
- int64 frame_count_;
+ int64_t frame_count_;
DISALLOW_IMPLICIT_CONSTRUCTORS(AudioTimestampHelper);
};

Powered by Google App Engine
This is Rietveld 408576698