commit | 5031b2f3ac5223587e48fc8463bec24cb62495ba | [log] [tgz] |
---|---|---|
author | Wei Jia <wjia@google.com> | Thu Feb 25 11:19:31 2016 -0800 |
committer | Wei Jia <wjia@google.com> | Thu Feb 25 11:19:31 2016 -0800 |
tree | b51a726bbeb65974083b52fdd2679fb51cfe42cb | |
parent | fc958a0888d47b5d34847afab3b33d877d9ca007 [diff] [blame] |
NuPlayer: allow restartAudio in non-offload mode. Bug: 27349327 Bug: 27059518 Change-Id: Ia41de9dbe8949ca04f6f3cd11f5b01cea2f53a74
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.h b/media/libmediaplayerservice/nuplayer/NuPlayer.h index 5e48b30..a55aa5f 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.h
@@ -233,7 +233,7 @@ void tryOpenAudioSinkForOffload(const sp<AMessage> &format, bool hasVideo); void closeAudioSink(); - void restartAudioFromOffload( + void restartAudio( int64_t currentPositionUs, bool forceNonOffload, bool needsToCreateAudioDecoder); void determineAudioModeChange();