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

Unified Diff: media/base/audio_timestamp_helper.h

Issue 156783003: Enhance AudioSplicer to crossfade marked splice frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve comments. Created 6 years, 10 months 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 8b5d50e66f68acd004fb41675f42855455a044dc..db4d44d83e783eca7260daa4aabdf8ee2834d702 100644
--- a/media/base/audio_timestamp_helper.h
+++ b/media/base/audio_timestamp_helper.h
@@ -32,7 +32,8 @@ class MEDIA_EXPORT AudioTimestampHelper {
// Sets the base timestamp to |base_timestamp| and the sets count to 0.
void SetBaseTimestamp(base::TimeDelta base_timestamp);
- base::TimeDelta base_timestamp() const;
+ base::TimeDelta base_timestamp() const { return base_timestamp_; }
+ int64 frame_count() const { return frame_count_; }
// Adds |frame_count| to the frame counter.
// Note: SetBaseTimestamp() must be called with a value other than

Powered by Google App Engine
This is Rietveld 408576698