diff options
author | Chong Zhang <chz@google.com> | 2013-08-06 09:44:47 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2013-08-19 10:53:52 -0700 |
commit | dcb89b3b505522efde173c105a851c412f947178 (patch) | |
tree | eb89386fb07021a6527b35ea3d8ecf80584c73b7 /media/libstagefright/httplive/M3UParser.h | |
parent | 1cb4e1661e4144cb188c2c79b89804fcb902fd19 (diff) | |
download | frameworks_av-dcb89b3b505522efde173c105a851c412f947178.zip frameworks_av-dcb89b3b505522efde173c105a851c412f947178.tar.gz frameworks_av-dcb89b3b505522efde173c105a851c412f947178.tar.bz2 |
MediaPlayer: add listener for raw track data
Bug: 10326117
Change-Id: I2c0bdf8adc67b11f8dc633423bee66897548f181
Diffstat (limited to 'media/libstagefright/httplive/M3UParser.h')
-rw-r--r-- | media/libstagefright/httplive/M3UParser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libstagefright/httplive/M3UParser.h b/media/libstagefright/httplive/M3UParser.h index abea286..5248004 100644 --- a/media/libstagefright/httplive/M3UParser.h +++ b/media/libstagefright/httplive/M3UParser.h @@ -41,6 +41,9 @@ struct M3UParser : public RefBase { bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL); void pickRandomMediaItems(); + status_t selectTrack(size_t index, bool select); + status_t getTrackInfo(Parcel* reply) const; + ssize_t getSelectedIndex() const; bool getAudioURI(size_t index, AString *uri) const; bool getVideoURI(size_t index, AString *uri) const; @@ -67,6 +70,7 @@ private: sp<AMessage> mMeta; Vector<Item> mItems; + ssize_t mSelectedIndex; // Media groups keyed by group ID. KeyedVector<AString, sp<MediaGroup> > mMediaGroups; |