summaryrefslogtreecommitdiffstats
path: root/include/media/mediaplayer.h
diff options
context:
space:
mode:
authorWei Jia <wjia@google.com>2015-02-25 23:10:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-02-25 23:10:07 +0000
commit212765f2d5ee6e533f3d032d6609125faa95bf48 (patch)
tree8e6701ad7c2b2af5f9200ab79960de1c724f7635 /include/media/mediaplayer.h
parent7c4820d23b68f748b8dfff3d4bb5b13e9d4811a8 (diff)
parent9816016afb2a13c6a866cd047d57020566a8b9a9 (diff)
downloadframeworks_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.h2
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;