diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-06-24 17:12:19 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-06-23 21:45:06 +0000 |
commit | 940c688d76828ffd83929c661e75b5197903d30f (patch) | |
tree | 195d7783e3105323156a8f9a846a1d4b67047dbb /media/libmediaplayerservice/MediaPlayerFactory.h | |
parent | da69fdbbeb79885a3c063a2017bd6d2848fcc312 (diff) | |
parent | 247d9ebdbe7f165644f308745eee061fcbb77771 (diff) | |
download | frameworks_av-940c688d76828ffd83929c661e75b5197903d30f.zip frameworks_av-940c688d76828ffd83929c661e75b5197903d30f.tar.gz frameworks_av-940c688d76828ffd83929c661e75b5197903d30f.tar.bz2 |
Merge "libmediaplayerservice: unused argument warning messages"
Diffstat (limited to 'media/libmediaplayerservice/MediaPlayerFactory.h')
-rw-r--r-- | media/libmediaplayerservice/MediaPlayerFactory.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerFactory.h b/media/libmediaplayerservice/MediaPlayerFactory.h index fe8972b..5ddde19 100644 --- a/media/libmediaplayerservice/MediaPlayerFactory.h +++ b/media/libmediaplayerservice/MediaPlayerFactory.h @@ -29,19 +29,19 @@ class MediaPlayerFactory { public: virtual ~IFactory() { } - virtual float scoreFactory(const sp<IMediaPlayer>& client, - const char* url, - float curScore) { return 0.0; } - - virtual float scoreFactory(const sp<IMediaPlayer>& client, - int fd, - int64_t offset, - int64_t length, - float curScore) { return 0.0; } - - virtual float scoreFactory(const sp<IMediaPlayer>& client, - const sp<IStreamSource> &source, - float curScore) { return 0.0; } + virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, + const char* /*url*/, + float /*curScore*/) { return 0.0; } + + virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, + int /*fd*/, + int64_t /*offset*/, + int64_t /*length*/, + float /*curScore*/) { return 0.0; } + + virtual float scoreFactory(const sp<IMediaPlayer>& /*client*/, + const sp<IStreamSource> &/*source*/, + float /*curScore*/) { return 0.0; } virtual sp<MediaPlayerBase> createPlayer() = 0; }; |