Loading media/codec2/components/aac/DrcPresModeWrap.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ CDrcPresModeWrapper::update() int newHeavy = mDesHeavy; if (mDataUpdate) { // sanity check // Validation check if ((mDesTarget < MAX_TARGET_LEVEL) && (mDesTarget != -1)){ mDesTarget = MAX_TARGET_LEVEL; // limit target level to -10 dB or below newTarget = MAX_TARGET_LEVEL; Loading Loading @@ -217,7 +217,7 @@ CDrcPresModeWrapper::update() } else { // handle other used encoder target levels // Sanity check: DRC presentation mode is only specified for max. 5.1 channels // Validation check: DRC presentation mode is only specified for max. 5.1 channels if (mStreamNrAACChan > 6) { drcPresMode = 0; } Loading Loading @@ -308,7 +308,7 @@ CDrcPresModeWrapper::update() } // switch() } // if (mEncoderTarget == GPM_ENCODER_TARGET_LEVEL) // sanity again // Validation check again if (newHeavy == 1) { newBoostFactor=127; // not really needed as the same would be done by the decoder anyway newAttFactor = 127; Loading Loading
media/codec2/components/aac/DrcPresModeWrap.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ CDrcPresModeWrapper::update() int newHeavy = mDesHeavy; if (mDataUpdate) { // sanity check // Validation check if ((mDesTarget < MAX_TARGET_LEVEL) && (mDesTarget != -1)){ mDesTarget = MAX_TARGET_LEVEL; // limit target level to -10 dB or below newTarget = MAX_TARGET_LEVEL; Loading Loading @@ -217,7 +217,7 @@ CDrcPresModeWrapper::update() } else { // handle other used encoder target levels // Sanity check: DRC presentation mode is only specified for max. 5.1 channels // Validation check: DRC presentation mode is only specified for max. 5.1 channels if (mStreamNrAACChan > 6) { drcPresMode = 0; } Loading Loading @@ -308,7 +308,7 @@ CDrcPresModeWrapper::update() } // switch() } // if (mEncoderTarget == GPM_ENCODER_TARGET_LEVEL) // sanity again // Validation check again if (newHeavy == 1) { newBoostFactor=127; // not really needed as the same would be done by the decoder anyway newAttFactor = 127; Loading