Loading services/audioflinger/Threads.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -7366,8 +7366,10 @@ reacquire_wakelock: // Update server timestamp with server stats // systemTime() is optional if the hardware supports timestamps. if (framesRead >= 0) { mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = lastIoEndNs; } // Update server timestamp with kernel stats if (mPipeSource.get() == nullptr /* don't obtain for FastCapture, could block */) { Loading Loading
services/audioflinger/Threads.cpp +4 −2 Original line number Diff line number Diff line Loading @@ -7366,8 +7366,10 @@ reacquire_wakelock: // Update server timestamp with server stats // systemTime() is optional if the hardware supports timestamps. if (framesRead >= 0) { mTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] += framesRead; mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = lastIoEndNs; } // Update server timestamp with kernel stats if (mPipeSource.get() == nullptr /* don't obtain for FastCapture, could block */) { Loading