Lines Matching refs:profileIdx
597 int profileIdx, i;
606 case DRC_FILMSTANDARD: profileIdx = 0; break;
607 case DRC_FILMLIGHT: profileIdx = 1; break;
608 case DRC_MUSICSTANDARD: profileIdx = 2; break;
609 case DRC_MUSICLIGHT: profileIdx = 3; break;
610 case DRC_SPEECH: profileIdx = 4; break;
611 case DRC_DELAY_TEST: profileIdx = 5; break;
616 if (profileIdx >= 0) {
617 drcComp->maxBoostThr[i] = tabMaxBoostThr[profileIdx];
618 drcComp->boostThr[i] = tabBoostThr[profileIdx];
619 drcComp->earlyCutThr[i] = tabEarlyCutThr[profileIdx];
620 drcComp->cutThr[i] = tabCutThr[profileIdx];
621 drcComp->maxCutThr[i] = tabMaxCutThr[profileIdx];
623 drcComp->boostFac[i] = tabBoostRatio[profileIdx];
624 drcComp->earlyCutFac[i] = tabEarlyCutRatio[profileIdx];
625 drcComp->cutFac[i] = tabCutRatio[profileIdx];
627 drcComp->maxBoost[i] = tabMaxBoost[profileIdx];
628 drcComp->maxCut[i] = tabMaxCut[profileIdx];
631 drcComp->fastAttack[i] = tc2Coeff(tabFastAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength);
632 drcComp->fastDecay[i] = tc2Coeff(tabFastDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength);
633 drcComp->slowAttack[i] = tc2Coeff(tabSlowAttack[profileIdx], drcComp->sampleRate, drcComp->blockLength);
634 drcComp->slowDecay[i] = tc2Coeff(tabSlowDecay[profileIdx], drcComp->sampleRate, drcComp->blockLength);
635 drcComp->holdOff[i] = tabHoldOff[profileIdx] * 256 / drcComp->blockLength;
637 drcComp->attackThr[i] = tabAttackThr[profileIdx];
638 drcComp->decayThr[i] = tabDecayThr[profileIdx];