Lines Matching refs:fm_offset
147 static int fm_offset[18] = { variable
269 fm_write(0x40+fm_offset[i], 63); in fm_reset()
270 fm_write(0x43+fm_offset[i], 63); in fm_reset()
335 fm_write(0x20+fm_offset[voice], inst->characteristic1); in fm_set_voice()
336 fm_write(0x23+fm_offset[voice], inst->characteristic2); in fm_set_voice()
337 fm_write(0x60+fm_offset[voice], inst->attackdecay1); in fm_set_voice()
338 fm_write(0x63+fm_offset[voice], inst->attackdecay2); in fm_set_voice()
339 fm_write(0x80+fm_offset[voice], inst->sustainrelease1); in fm_set_voice()
340 fm_write(0x83+fm_offset[voice], inst->sustainrelease2); in fm_set_voice()
341 fm_write(0xE0+fm_offset[voice], inst->wave1); in fm_set_voice()
342 fm_write(0xE3+fm_offset[voice], inst->wave2); in fm_set_voice()
346 fm_write(0x40+fm_offset[voice], inst->level1); in fm_set_voice()
360 fm_write(0x20+fm_offset[voice], inst->characteristic1); in fm_set_drum_op1()
361 fm_write(0x60+fm_offset[voice], inst->attackdecay1); in fm_set_drum_op1()
362 fm_write(0x80+fm_offset[voice], inst->sustainrelease1); in fm_set_drum_op1()
363 fm_write(0xE0+fm_offset[voice], inst->wave1); in fm_set_drum_op1()
373 fm_write(0x23+fm_offset[voice], inst->characteristic2); in fm_set_drum_op2()
374 fm_write(0x63+fm_offset[voice], inst->attackdecay2); in fm_set_drum_op2()
375 fm_write(0x83+fm_offset[voice], inst->sustainrelease2); in fm_set_drum_op2()
376 fm_write(0xE3+fm_offset[voice], inst->wave2); in fm_set_drum_op2()
387 fm_write(0x40+fm_offset[voice], (63-vol)); in fm_set_drum_vol_op1()
398 fm_write(0x43+fm_offset[voice], (63-vol)); in fm_set_drum_vol_op2()
516 fm_write(0x43+fm_offset[voice], 63); in fm_key_on()
518 fm_write(0x40+fm_offset[voice], 63); in fm_key_on()
566 fm_write(0x43+fm_offset[voice], (63-vol) | fm_keyscale[voice]); in fm_set_volume()
568 fm_write(0x40+fm_offset[voice], (63-vol) | fm_keyscale[voice]); in fm_set_volume()
618 fm_write(0x40+fm_offset[i], 63); in fm_load_patches()
619 fm_write(0x43+fm_offset[i], 63); in fm_load_patches()
881 LOCK_VARIABLE(fm_offset); in fm_init()