Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03a5653c authored by Wei Jia's avatar Wei Jia
Browse files

NuPlayerDriver: log pause.

Change-Id: I85776d5d2a0b6dc9c5fd18fc19afc211f3b44b7a
parent 7f7052f5
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -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