Lines Matching defs:opl3_reg
88 unsigned short opl3_reg;
91 opl3_reg = OPL3_LEFT | (OPL3_REG_AM_VIB + op_offset);
92 opl3->command(opl3, opl3_reg, data->am_vib);
95 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset);
96 opl3->command(opl3, opl3_reg, data->ksl_level);
99 opl3_reg = OPL3_LEFT | (OPL3_REG_ATTACK_DECAY + op_offset);
100 opl3->command(opl3, opl3_reg, data->attack_decay);
103 opl3_reg = OPL3_LEFT | (OPL3_REG_SUSTAIN_RELEASE + op_offset);
104 opl3->command(opl3, opl3_reg, data->sustain_release);
107 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
108 opl3->command(opl3, opl3_reg, data->feedback_connection);
111 opl3_reg = OPL3_LEFT | (OPL3_REG_WAVE_SELECT + op_offset);
112 opl3->command(opl3, opl3_reg, data->wave_select);
122 unsigned short opl3_reg;
125 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset);
126 opl3->command(opl3, opl3_reg, data->fnum);
129 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset);
130 opl3->command(opl3, opl3_reg, data->octave_f);
143 unsigned short opl3_reg;
148 opl3_reg = OPL3_LEFT | (OPL3_REG_KSL_LEVEL + op_offset);
149 opl3->command(opl3, opl3_reg, reg_val);
158 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset);
159 opl3->command(opl3, opl3_reg, reg_val);