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

Commit 00502849 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 d27f1e69 41dabbcd
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;