diff options
author | John Grossman <johngro@google.com> | 2012-08-24 14:47:25 -0700 |
---|---|---|
committer | John Grossman <johngro@google.com> | 2012-09-06 12:33:35 -0700 |
commit | 5f7e55ea443c80ef8b6173efd1c2551e07309b0a (patch) | |
tree | 4cd31563d1b3922b7b04ae6ced11eb8c0d918399 /include | |
parent | ed68d9acdd5eae0ca6a3a6eebb99c104784707e4 (diff) | |
download | frameworks_av-5f7e55ea443c80ef8b6173efd1c2551e07309b0a.zip frameworks_av-5f7e55ea443c80ef8b6173efd1c2551e07309b0a.tar.gz frameworks_av-5f7e55ea443c80ef8b6173efd1c2551e07309b0a.tar.bz2 |
Add a small hook to support gapless in AAH.
Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
Diffstat (limited to 'include')
-rw-r--r-- | include/media/MediaPlayerInterface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 518948c..b7bee3f 100644 --- a/include/media/MediaPlayerInterface.h +++ b/include/media/MediaPlayerInterface.h @@ -150,16 +150,16 @@ public: virtual status_t setParameter(int key, const Parcel &request) = 0; virtual status_t getParameter(int key, Parcel *reply) = 0; - // Right now, only the AAX TX player supports this functionality. For now, - // provide default implementations which indicate a lack of support for this - // functionality to make life easier for all of the other media player - // maintainers out there. + // default no-op implementation of optional extensions virtual status_t setRetransmitEndpoint(const struct sockaddr_in* endpoint) { return INVALID_OPERATION; } virtual status_t getRetransmitEndpoint(struct sockaddr_in* endpoint) { return INVALID_OPERATION; } + virtual status_t setNextPlayer(const sp<MediaPlayerBase>& next) { + return OK; + } // Invoke a generic method on the player by using opaque parcels // for the request and reply. |