Searched refs:envGain (Results 1 – 4 of 4) sorted by relevance
340 (pFMVoice->oper[operIndex].envGain == 0)) in FM_SustainPedal()346 …if (pFMVoice->oper[operIndex].envGain >= ((EAS_U16) (pRegion->oper[operIndex].sustain & 0xfc) << 7… in FM_SustainPedal()478 pFMVoice->oper[operIndex].envGain = 0x7fff; in FM_StartVoice()487 pFMVoice->oper[operIndex].envGain = 0; in FM_StartVoice()640 temp = pOper->envGain + fmAttackTable[pOperData->attackDecay >> 4]; in FM_UpdateEG()645 pOper->envGain = 0x7fff; in FM_UpdateEG()649 pOper->envGain = (EAS_U16) temp; in FM_UpdateEG()655 pOper->envGain = (EAS_U16) FMUL_15x15(pOper->envGain, pOper->envRate); in FM_UpdateEG()659 if (pOper->envGain <= (EAS_U16) temp) in FM_UpdateEG()674 pOper->envGain = (EAS_U16) temp; in FM_UpdateEG()[all …]
54 EAS_U16 envGain; /* envelope target */ member