Index: media/base/android/audio_decoder_job.h |
diff --git a/media/base/android/audio_decoder_job.h b/media/base/android/audio_decoder_job.h |
index 0a9849f59d733c663a58e4cf6a1ef5024a1b7255..baee4a354bfa79d6f42575ca872bbdd169ae730c 100644 |
--- a/media/base/android/audio_decoder_job.h |
+++ b/media/base/android/audio_decoder_job.h |
@@ -24,7 +24,8 @@ class AudioDecoderJob : public MediaDecoderJob { |
// |on_demuxer_config_changed_cb| - Callback used to inform the caller that |
// demuxer config has changed. |
AudioDecoderJob(const base::Closure& request_data_cb, |
- const base::Closure& on_demuxer_config_changed_cb); |
+ const base::Closure& on_demuxer_config_changed_cb, |
+ FrameStatistics* frame_statistics); |
~AudioDecoderJob() override; |
// MediaDecoderJob implementation. |
@@ -79,6 +80,9 @@ class AudioDecoderJob : public MediaDecoderJob { |
// Object to calculate the current audio timestamp for A/V sync. |
scoped_ptr<AudioTimestampHelper> audio_timestamp_helper_; |
+ // The time limit for the next frame to avoid underrun. |
+ base::TimeTicks next_frame_time_limit_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AudioDecoderJob); |
}; |