commit | f2c87b3f88d987d2af6322e9763eb8224a2bae48 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Thu Apr 07 19:49:29 2016 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Apr 13 11:03:44 2016 -0700 |
tree | e5385d3a05f9a317b7fa1ea5613a2a6f584ebdfd | |
parent | 8ae73129e7e79d826b293238c2f037f723d0e6e8 [diff] [blame] |
NuPlayer: Notify if drain message time is unexpectedly long Bug: 27940058 Change-Id: Id8897c30e21b6b9de545a710e7766ffceb491455
diff --git a/media/libmediaplayerservice/MediaPlayerService.h b/media/libmediaplayerservice/MediaPlayerService.h index 1581b49..80593b2 100644 --- a/media/libmediaplayerservice/MediaPlayerService.h +++ b/media/libmediaplayerservice/MediaPlayerService.h
@@ -92,6 +92,7 @@ virtual status_t getFramesWritten(uint32_t *frameswritten) const; virtual audio_session_t getSessionId() const; virtual uint32_t getSampleRate() const; + virtual int64_t getBufferDurationInUs() const; virtual status_t open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask,