Commit fd6f83cc authored by xhwang's avatar xhwang Committed by Commit bot

media: Add extra logging in AudioClock.

This would help investigate a crash due to DCHECK.

BUG=481640
TEST=none
R=dalecurtis@chromium.org

Review URL: https://codereview.chromium.org/1109183002

Cr-Commit-Position: refs/heads/master@{#327381}
parent 22e2f4a2
......@@ -81,8 +81,8 @@ void AudioClock::WroteAudio(int frames_written,
}
base::TimeDelta AudioClock::TimeUntilPlayback(base::TimeDelta timestamp) const {
DCHECK(timestamp >= front_timestamp_);
DCHECK(timestamp <= back_timestamp_);
DCHECK_GE(timestamp, front_timestamp_);
DCHECK_LE(timestamp, back_timestamp_);
int64_t frames_until_timestamp = 0;
double timestamp_us = timestamp.InMicroseconds();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment