diff options
author | Lajos Molnar <lajos@google.com> | 2014-09-17 23:15:59 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-09-17 23:16:00 +0000 |
commit | 832666776a681ec3a30ee8fc7d5da9039646147d (patch) | |
tree | 5db9531f473caf0e8f8cce740a997f1ad282edb2 /include/media | |
parent | a87be62b083fb969aeece99d6c29735ef9a5a373 (diff) | |
parent | 06ad1528e6dd4c866c085d3cad9235d2752eb3ed (diff) | |
download | frameworks_av-832666776a681ec3a30ee8fc7d5da9039646147d.zip frameworks_av-832666776a681ec3a30ee8fc7d5da9039646147d.tar.gz frameworks_av-832666776a681ec3a30ee8fc7d5da9039646147d.tar.bz2 |
Merge "NuPlayer: use getTimestamp instead of getPosition" into lmp-dev
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/MediaPlayerInterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 87717da..cf18a45 100644 --- a/include/media/MediaPlayerInterface.h +++ b/include/media/MediaPlayerInterface.h @@ -27,6 +27,7 @@ #include <media/mediaplayer.h> #include <media/AudioSystem.h> +#include <media/AudioTimestamp.h> #include <media/Metadata.h> // Fwd decl to make sure everyone agrees that the scope of struct sockaddr_in is @@ -97,6 +98,7 @@ public: virtual uint32_t latency() const = 0; virtual float msecsPerFrame() const = 0; virtual status_t getPosition(uint32_t *position) const = 0; + virtual status_t getTimestamp(AudioTimestamp &ts) const = 0; virtual status_t getFramesWritten(uint32_t *frameswritten) const = 0; virtual int getSessionId() const = 0; virtual audio_stream_type_t getAudioStreamType() const = 0; |