| Index: media/base/audio_timestamp_helper.cc
|
| diff --git a/media/base/audio_timestamp_helper.cc b/media/base/audio_timestamp_helper.cc
|
| index 8694ae329a003aed933cccba44429941c7305457..0d62c125b75737d2cedf1df3523158e9d67a1914 100644
|
| --- a/media/base/audio_timestamp_helper.cc
|
| +++ b/media/base/audio_timestamp_helper.cc
|
| @@ -20,7 +20,7 @@ base::TimeDelta AudioTimestampHelper::FramesToTime(int64_t frames,
|
| // static
|
| int64_t AudioTimestampHelper::TimeToFrames(base::TimeDelta time,
|
| int samples_per_second) {
|
| - return time.InSecondsF() * samples_per_second;
|
| + return std::round(time.InSecondsF() * samples_per_second);
|
| }
|
|
|
| AudioTimestampHelper::AudioTimestampHelper(int samples_per_second)
|
|
|