commit | b5f25f005bc1d3ae35f45b58c88345e183dc336d | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Feb 05 10:14:26 2013 -0800 |
committer | Andreas Huber <andih@google.com> | Tue Feb 05 10:14:26 2013 -0800 |
tree | 4c8557d59ae426eb7dc7467d8bf799f059a4f30d | |
parent | 20ea4b429237f6845a833994bcee8f86791e8973 [diff] [blame] |
Groundwork to support bidirectional, asynchronous communication between NuPlayer and its sources. Change-Id: I1989022d806206b926555add3aa5c1fcf37aa78d
diff --git a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp index 7159404..9b04833 100644 --- a/media/libmediaplayerservice/nuplayer/StreamingSource.cpp +++ b/media/libmediaplayerservice/nuplayer/StreamingSource.cpp
@@ -32,8 +32,11 @@ namespace android { -NuPlayer::StreamingSource::StreamingSource(const sp<IStreamSource> &source) - : mSource(source), +NuPlayer::StreamingSource::StreamingSource( + const sp<AMessage> ¬ify, + const sp<IStreamSource> &source) + : Source(notify), + mSource(source), mFinalResult(OK) { }