Emit better (correct) timestamps that respect AAC upsampling.
Change-Id: I6587416c9caa0e263aa8ec6c6d89a42e28f6ff19
This commit is contained in:
@@ -308,7 +308,7 @@ status_t AACDecoder::read(
|
||||
mAnchorTimeUs
|
||||
+ (mNumSamplesOutput * 1000000) / mConfig->samplingRate);
|
||||
|
||||
mNumSamplesOutput += mConfig->frameLength;
|
||||
mNumSamplesOutput += mConfig->frameLength * mUpsamplingFactor;
|
||||
|
||||
*out = buffer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user