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

Commit 08f83a6c authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Emit better (correct) timestamps that respect AAC upsampling."

parents 92272ab1 3d6576ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -308,7 +308,7 @@ status_t AACDecoder::read(
            mAnchorTimeUs
                + (mNumSamplesOutput * 1000000) / mConfig->samplingRate);

    mNumSamplesOutput += mConfig->frameLength;
    mNumSamplesOutput += mConfig->frameLength * mUpsamplingFactor;

    *out = buffer;