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

Unified Diff: media/base/android/audio_decoder_job.h

Issue 1367403003: Added UMA metrics for MediaSourcePlayer and MediaCodecPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mtplayer-drm
Patch Set: Attempt to fix clang compilation Created 5 years, 3 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
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/audio_decoder_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
« no previous file with comments | « media/base/android/BUILD.gn ('k') | media/base/android/audio_decoder_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698