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

Unified Diff: media/base/audio_splicer.h

Issue 2158923004: Convert media constants to constexpr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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_splicer.h
diff --git a/media/base/audio_splicer.h b/media/base/audio_splicer.h
index 89c3bc910f08c5d46cf0592d33029627657c9a8f..04e18b6d671fce3ac883e8f1f884a1494507b1bd 100644
--- a/media/base/audio_splicer.h
+++ b/media/base/audio_splicer.h
@@ -57,7 +57,7 @@ class MEDIA_EXPORT AudioSplicer {
// Indicates an upcoming splice point. All buffers overlapping or after the
// |splice_timestamp| will be considered as "before the splice." Clients must
- // then call SetSpliceTimestamp(kNoTimestamp()) to signal that future buffers
+ // then call SetSpliceTimestamp(kNoTimestamp) to signal that future buffers
// should be considered as "after the splice."
//
// Once |kCrossfadeDurationInMilliseconds| of buffers "after the splice" or
@@ -93,7 +93,7 @@ class MEDIA_EXPORT AudioSplicer {
// Reset the splice and splice end timestamps.
void reset_splice_timestamps() {
- splice_timestamp_ = max_splice_end_timestamp_ = kNoTimestamp();
+ splice_timestamp_ = max_splice_end_timestamp_ = kNoTimestamp;
}
const base::TimeDelta max_crossfade_duration_;

Powered by Google App Engine
This is Rietveld 408576698