Lines Matching defs:opl3_reg
72 unsigned short opl3_reg;
75 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset);
76 opl3->command(opl3, opl3_reg, data->am_vib);
79 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset);
80 opl3->command(opl3, opl3_reg, data->ksl_level);
83 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset);
84 opl3->command(opl3, opl3_reg, data->attack_decay);
87 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset);
88 opl3->command(opl3, opl3_reg, data->sustain_release);
91 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
92 opl3->command(opl3, opl3_reg, data->feedback_connection);
95 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset);
96 opl3->command(opl3, opl3_reg, data->wave_select);
106 unsigned short opl3_reg;
109 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset);
110 opl3->command(opl3, opl3_reg, data->fnum);
113 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset);
114 opl3->command(opl3, opl3_reg, data->octave_f);
127 unsigned short opl3_reg;
132 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset);
133 opl3->command(opl3, opl3_reg, reg_val);
142 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
143 opl3->command(opl3, opl3_reg, reg_val);