Searched refs:voice_offset (Results 1 – 2 of 2) sorted by relevance
351 unsigned char voice_offset; in snd_opl3_reset() local363 voice_offset = i; in snd_opl3_reset()367 voice_offset = i - MAX_OPL2_VOICES; in snd_opl3_reset()369 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][0]); in snd_opl3_reset()371 opl3_reg = reg_side | (OPL3_REG_KSL_LEVEL + snd_opl3_regmap[voice_offset][1]); in snd_opl3_reset()374 opl3_reg = reg_side | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_reset()391 unsigned char voice_offset; in snd_opl3_play_note() local406 voice_offset = note->voice; in snd_opl3_play_note()410 voice_offset = note->voice - MAX_OPL2_VOICES; in snd_opl3_play_note()415 opl3_reg = reg_side | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_play_note()[all …]
71 unsigned char voice_offset = data->voice; in snd_opl3_drum_voice_set() local91 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_voice_set()105 unsigned char voice_offset = data->voice; in snd_opl3_drum_note_set() local109 opl3_reg = OPL3_LEFT | (OPL3_REG_FNUM_LOW + voice_offset); in snd_opl3_drum_note_set()113 opl3_reg = OPL3_LEFT | (OPL3_REG_KEYON_BLOCK + voice_offset); in snd_opl3_drum_note_set()125 unsigned char voice_offset = data->voice; in snd_opl3_drum_vol_set() local142 opl3_reg = OPL3_LEFT | (OPL3_REG_FEEDBACK_CONNECTION + voice_offset); in snd_opl3_drum_vol_set()