Index: media/base/android/media_codec_audio_decoder.h |
diff --git a/media/base/android/media_codec_audio_decoder.h b/media/base/android/media_codec_audio_decoder.h |
index 03df46b0ab1e5c4e3b1f22eb321238a8d9a5c57c..3143d560fb0ad29ec76fbc1a9de48e3f3a4aace6 100644 |
--- a/media/base/android/media_codec_audio_decoder.h |
+++ b/media/base/android/media_codec_audio_decoder.h |
@@ -19,6 +19,7 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder { |
// Called for each rendered frame. |
MediaCodecAudioDecoder( |
const scoped_refptr<base::SingleThreadTaskRunner>& media_runner, |
+ FrameStatistics* frame_statistics, |
const base::Closure& request_data_cb, |
const base::Closure& starvation_cb, |
const base::Closure& decoder_drained_cb, |
@@ -87,6 +88,9 @@ class MediaCodecAudioDecoder : public MediaCodecDecoder { |
// Reports current playback time to the callee. |
SetTimeCallback update_current_time_cb_; |
+ // The time limit for the next frame to avoid underrun. |
+ base::TimeTicks next_frame_time_limit_; |
+ |
DISALLOW_COPY_AND_ASSIGN(MediaCodecAudioDecoder); |
}; |