diff options
author | Wei Jia <wjia@google.com> | 2015-02-25 23:10:06 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-02-25 23:10:07 +0000 |
commit | 212765f2d5ee6e533f3d032d6609125faa95bf48 (patch) | |
tree | 8e6701ad7c2b2af5f9200ab79960de1c724f7635 /include/media/mediaplayer.h | |
parent | 7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8 (diff) | |
parent | 9816016afb2a13c6a866cd047d57020566a8b9a9 (diff) | |
download | frameworks_av-212765f2d5ee6e533f3d032d6609125faa95bf48.zip frameworks_av-212765f2d5ee6e533f3d032d6609125faa95bf48.tar.gz frameworks_av-212765f2d5ee6e533f3d032d6609125faa95bf48.tar.bz2 |
Merge "mediaplayer: support dynamic playback rate"
Diffstat (limited to 'include/media/mediaplayer.h')
-rw-r--r-- | include/media/mediaplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h index 5830933..808e893 100644 --- a/include/media/mediaplayer.h +++ b/include/media/mediaplayer.h @@ -220,6 +220,7 @@ public: status_t stop(); status_t pause(); bool isPlaying(); + status_t setPlaybackRate(float rate); status_t getVideoWidth(int *w); status_t getVideoHeight(int *h); status_t seekTo(int msec); @@ -274,6 +275,7 @@ private: int mVideoWidth; int mVideoHeight; int mAudioSessionId; + float mPlaybackRate; float mSendLevel; struct sockaddr_in mRetransmitEndpoint; bool mRetransmitEndpointValid; |