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

Commit 38138bb1 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am 645e4397: Merge "AudioTrack: fix position callback after restore"

* commit '645e4397':
  AudioTrack: fix position callback after restore
parents 51d166ec 645e4397
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1691,7 +1691,6 @@ status_t AudioTrack::restoreTrack_l(const char *from)

    // take the frames that will be lost by track recreation into account in saved position
    size_t position = mProxy->getPosition() + mProxy->getFramesFilled();
    mNewPosition = position + mUpdatePeriod;
    size_t bufferPosition = mStaticProxy != NULL ? mStaticProxy->getBufferPosition() : 0;
    result = createTrack_l(mStreamType,
                           mSampleRate,