Merge "Trigger config change after a change in SBR activity has been recognized."

This commit is contained in:
Jean-Michel Trivi 2019-03-15 18:07:26 +00:00 committed by Android (Google) Code Review
commit 97b421ce43
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/* -----------------------------------------------------------------------------
Software License for The Fraunhofer FDK AAC Codec Library for Android
© Copyright 1995 - 2018 Fraunhofer-Gesellschaft zur Förderung der angewandten
© Copyright 1995 - 2019 Fraunhofer-Gesellschaft zur Förderung der angewandten
Forschung e.V. All rights reserved.
1. INTRODUCTION
@ -1815,6 +1815,9 @@ CAacDecoder_Init(HANDLE_AACDECODER self, const CSAudioSpecificConfig *asc,
self->useLdQmfTimeAlign =
asc->m_sc.m_eldSpecificConfig.m_useLdQmfTimeAlign;
}
if (self->sbrEnabled != asc->m_sbrPresentFlag) {
ascChanged = 1;
}
}
self->streamInfo.extAot = asc->m_extensionAudioObjectType;