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 | 2e5f22e85d177b34e790f832789d03aee438a7db (patch) | |
tree | 1e41eb4b82919725fcab038d5c158189ef9abf63 /include/media | |
parent | c56857b4cd12cd4bc3361e375f5b7554277ce9d7 (diff) | |
download | frameworks_av-2e5f22e85d177b34e790f832789d03aee438a7db.zip frameworks_av-2e5f22e85d177b34e790f832789d03aee438a7db.tar.gz frameworks_av-2e5f22e85d177b34e790f832789d03aee438a7db.tar.bz2 |
Add a small hook to support gapless in AAH.
Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
Diffstat (limited to 'include/media')
-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. |