Lines Matching refs:eg_rout
431 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
436 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
442 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
443 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
445 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
451 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
457 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
470 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
473 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
477 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
500 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
515 slot->eg_rout = 0x00; in OPL3_EnvelopeKeyOn()
1244 chip->slot[slotnum].eg_rout = 0x1ff; in OPL3_Reset()