Lines Matching refs:eg_rout
260 slot->eg_rout = 0x1ff; in envelope_gen_off()
264 if (slot->eg_rout == 0x00) { in envelope_gen_attack()
269 slot->eg_rout += ((~slot->eg_rout) *slot->eg_inc) >> 3; in envelope_gen_attack()
270 if (slot->eg_rout < 0x00) { in envelope_gen_attack()
271 slot->eg_rout = 0x00; in envelope_gen_attack()
276 if (slot->eg_rout >= slot->reg_sl << 4) { in envelope_gen_decay()
281 slot->eg_rout += slot->eg_inc; in envelope_gen_decay()
291 if (slot->eg_rout >= 0x1ff) { in envelope_gen_release()
293 slot->eg_rout = 0x1ff; in envelope_gen_release()
297 slot->eg_rout += slot->eg_inc; in envelope_gen_release()
314 …slot->eg_out = slot->eg_rout + (slot->reg_tl << 2) + (slot->eg_ksl >> kslshift[slot->reg_ksl]) + *… in envelope_calc()
325 slot->eg_rout = 0x00; in eg_keyon()
885 opl3.slot[slotnum].eg_rout = 0x1ff; in Reset()