Lines Matching refs:eg_rout
434 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenOff()
439 if (slot->eg_rout == 0x00) in OPL3_EnvelopeGenAttack()
445 slot->eg_rout += ((~slot->eg_rout) * slot->eg_inc) >> 3; in OPL3_EnvelopeGenAttack()
446 if (slot->eg_rout < 0x00) in OPL3_EnvelopeGenAttack()
448 slot->eg_rout = 0x00; in OPL3_EnvelopeGenAttack()
454 if (slot->eg_rout >= slot->reg_sl << 4) in OPL3_EnvelopeGenDecay()
460 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenDecay()
473 if (slot->eg_rout >= 0x1ff) in OPL3_EnvelopeGenRelease()
476 slot->eg_rout = 0x1ff; in OPL3_EnvelopeGenRelease()
480 slot->eg_rout += slot->eg_inc; in OPL3_EnvelopeGenRelease()
503 slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) in OPL3_EnvelopeCalc()
518 slot->eg_rout = 0x00; in OPL3_EnvelopeKeyOn()
1247 chip->slot[slotnum].eg_rout = 0x1ff; in OPL3_Reset()