mirror of
https://github.com/mstorsjo/fdk-aac.git
synced 2025-02-28 00:17:38 +01:00
Snap for 6164373 from 3255d513ce56f98085d77dd7b92840b73ab4cfd3 to rvc-release
Change-Id: I396303dd4ab4b8a24e0c6cf05b7ea0d48e3bdbc8
This commit is contained in:
commit
0ace500b9e
@ -1269,9 +1269,9 @@ aacDecoder_DecodeFrame(HANDLE_AACDECODER self, INT_PCM *pTimeData_extern,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Signal bit stream interruption to other modules if required. */
|
/* Signal bit stream interruption to other modules if required. */
|
||||||
if (fTpInterruption || (flags & AACDEC_INTR)) {
|
if (fTpInterruption || ((flags & AACDEC_INTR) && (accessUnit == 0))) {
|
||||||
aacDecoder_SignalInterruption(self);
|
aacDecoder_SignalInterruption(self);
|
||||||
if (!(flags & AACDEC_INTR)) {
|
if (!((flags & AACDEC_INTR) && (accessUnit == 0))) {
|
||||||
ErrorStatus = AAC_DEC_TRANSPORT_SYNC_ERROR;
|
ErrorStatus = AAC_DEC_TRANSPORT_SYNC_ERROR;
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
@ -1768,7 +1768,7 @@ aacDecoder_DecodeFrame(HANDLE_AACDECODER self, INT_PCM *pTimeData_extern,
|
|||||||
if (self->streamInfo.extAot != AOT_AAC_SLS) {
|
if (self->streamInfo.extAot != AOT_AAC_SLS) {
|
||||||
INT pcmLimiterScale = 0;
|
INT pcmLimiterScale = 0;
|
||||||
PCMDMX_ERROR dmxErr = PCMDMX_OK;
|
PCMDMX_ERROR dmxErr = PCMDMX_OK;
|
||||||
if (flags & (AACDEC_INTR)) {
|
if ((flags & AACDEC_INTR) && (accessUnit == 0)) {
|
||||||
/* delete data from the past (e.g. mixdown coeficients) */
|
/* delete data from the past (e.g. mixdown coeficients) */
|
||||||
pcmDmx_Reset(self->hPcmUtils, PCMDMX_RESET_BS_DATA);
|
pcmDmx_Reset(self->hPcmUtils, PCMDMX_RESET_BS_DATA);
|
||||||
}
|
}
|
||||||
|
@ -753,8 +753,8 @@ static DRCDEC_SELECTION_PROCESS_RETURN _initDefaultParams(
|
|||||||
hSelProcInput->loudnessNormalizationOn = 1;
|
hSelProcInput->loudnessNormalizationOn = 1;
|
||||||
hSelProcInput->targetLoudness = FL2FXCONST_DBL(-24.0f / (float)(1 << 7));
|
hSelProcInput->targetLoudness = FL2FXCONST_DBL(-24.0f / (float)(1 << 7));
|
||||||
hSelProcInput->loudnessDeviationMax = DEFAULT_LOUDNESS_DEVIATION_MAX;
|
hSelProcInput->loudnessDeviationMax = DEFAULT_LOUDNESS_DEVIATION_MAX;
|
||||||
hSelProcInput->loudnessMeasurementMethod = MDR_DEFAULT;
|
hSelProcInput->loudnessMeasurementMethod = MDR_ANCHOR_LOUDNESS;
|
||||||
hSelProcInput->loudnessMeasurementSystem = MSR_DEFAULT;
|
hSelProcInput->loudnessMeasurementSystem = MSR_EXPERT_PANEL;
|
||||||
hSelProcInput->loudnessMeasurementPreProc = LPR_DEFAULT;
|
hSelProcInput->loudnessMeasurementPreProc = LPR_DEFAULT;
|
||||||
hSelProcInput->deviceCutOffFrequency = 500;
|
hSelProcInput->deviceCutOffFrequency = 500;
|
||||||
hSelProcInput->loudnessNormalizationGainDbMax =
|
hSelProcInput->loudnessNormalizationGainDbMax =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user