Loading media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -330,6 +330,7 @@ status_t NuPlayerDriver::stop() { } } status_t NuPlayerDriver::pause() { status_t NuPlayerDriver::pause() { ALOGD("pause(%p)", this); // The NuPlayerRenderer may get flushed if pause for long enough, e.g. the pause timeout tear // The NuPlayerRenderer may get flushed if pause for long enough, e.g. the pause timeout tear // down for audio offload mode. If that happens, the NuPlayerRenderer will no longer know the // down for audio offload mode. If that happens, the NuPlayerRenderer will no longer know the // current position. So similar to seekTo, update |mPositionUs| to the pause position by calling // current position. So similar to seekTo, update |mPositionUs| to the pause position by calling Loading Loading
media/libmediaplayerservice/nuplayer/NuPlayerDriver.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -330,6 +330,7 @@ status_t NuPlayerDriver::stop() { } } status_t NuPlayerDriver::pause() { status_t NuPlayerDriver::pause() { ALOGD("pause(%p)", this); // The NuPlayerRenderer may get flushed if pause for long enough, e.g. the pause timeout tear // The NuPlayerRenderer may get flushed if pause for long enough, e.g. the pause timeout tear // down for audio offload mode. If that happens, the NuPlayerRenderer will no longer know the // down for audio offload mode. If that happens, the NuPlayerRenderer will no longer know the // current position. So similar to seekTo, update |mPositionUs| to the pause position by calling // current position. So similar to seekTo, update |mPositionUs| to the pause position by calling Loading