diff options
author | Wei Jia <wjia@google.com> | 2015-04-09 14:56:25 -0700 |
---|---|---|
committer | Wei Jia <wjia@google.com> | 2015-04-09 14:56:25 -0700 |
commit | fa6a06765e7b92b7ba265482bd4cf3074f9ff6cc (patch) | |
tree | 745f872831d337fb97d6130765b1078ae74607b0 /include | |
parent | 31ffe45a22b72ee5d25bb4932d0525e90dbc19fe (diff) | |
download | frameworks_av-fa6a06765e7b92b7ba265482bd4cf3074f9ff6cc.zip frameworks_av-fa6a06765e7b92b7ba265482bd4cf3074f9ff6cc.tar.gz frameworks_av-fa6a06765e7b92b7ba265482bd4cf3074f9ff6cc.tar.bz2 |
MediaClock: allow user to query playback rate.
Bug: 19666434
Change-Id: I306579e481cfcf923422d50d3d5cfae045ef2227
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/MediaClock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/MediaClock.h b/include/media/stagefright/MediaClock.h index e9c09a1..dd1a809 100644 --- a/include/media/stagefright/MediaClock.h +++ b/include/media/stagefright/MediaClock.h @@ -42,6 +42,7 @@ struct MediaClock : public RefBase { void updateMaxTimeMedia(int64_t maxTimeMediaUs); void setPlaybackRate(float rate); + float getPlaybackRate() const; // query media time corresponding to real time |realUs|, and save the // result in |outMediaUs|. |