summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/GenericSource.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2013-02-05 10:14:26 -0800
committerAndreas Huber <andih@google.com>2013-02-05 10:14:26 -0800
commitb5f25f005bc1d3ae35f45b58c88345e183dc336d (patch)
tree4c8557d59ae426eb7dc7467d8bf799f059a4f30d /media/libmediaplayerservice/nuplayer/GenericSource.h
parent20ea4b429237f6845a833994bcee8f86791e8973 (diff)
downloadframeworks_av-b5f25f005bc1d3ae35f45b58c88345e183dc336d.zip
frameworks_av-b5f25f005bc1d3ae35f45b58c88345e183dc336d.tar.gz
frameworks_av-b5f25f005bc1d3ae35f45b58c88345e183dc336d.tar.bz2
Groundwork to support bidirectional, asynchronous communication
between NuPlayer and its sources. Change-Id: I1989022d806206b926555add3aa5c1fcf37aa78d
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/GenericSource.h')
-rw-r--r--media/libmediaplayerservice/nuplayer/GenericSource.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/nuplayer/GenericSource.h b/media/libmediaplayerservice/nuplayer/GenericSource.h
index e1ce2c1..e59ea3a 100644
--- a/media/libmediaplayerservice/nuplayer/GenericSource.h
+++ b/media/libmediaplayerservice/nuplayer/GenericSource.h
@@ -32,12 +32,15 @@ struct MediaSource;
struct NuPlayer::GenericSource : public NuPlayer::Source {
GenericSource(
+ const sp<AMessage> &notify,
const char *url,
const KeyedVector<String8, String8> *headers,
bool uidValid = false,
uid_t uid = 0);
- GenericSource(int fd, int64_t offset, int64_t length);
+ GenericSource(
+ const sp<AMessage> &notify,
+ int fd, int64_t offset, int64_t length);
virtual void start();