From 2e5f22e85d177b34e790f832789d03aee438a7db Mon Sep 17 00:00:00 2001 From: John Grossman Date: Fri, 24 Aug 2012 14:47:25 -0700 Subject: Add a small hook to support gapless in AAH. Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630 --- include/media/MediaPlayerInterface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/media/MediaPlayerInterface.h b/include/media/MediaPlayerInterface.h index 518948ce..b7bee3f8 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& next) { + return OK; + } // Invoke a generic method on the player by using opaque parcels // for the request and reply. -- cgit v1.2.3