Lines Matching refs:sound
373 att = voice->sound->tone_attenuate; in snd_opl4_update_volume()
378 att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost; in snd_opl4_update_volume()
390 int pan = voice->sound->panpot; in snd_opl4_update_pan()
410 depth = (7 - voice->sound->vibrato) in snd_opl4_update_vibrato_depth()
412 depth = (depth >> 7) + voice->sound->vibrato; in snd_opl4_update_vibrato_depth()
430 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7); in snd_opl4_update_pitch()
431 pitch += voice->sound->pitch_offset; in snd_opl4_update_pitch()
454 voice->sound->reg_attack_decay1); in snd_opl4_update_tone_parameters()
456 voice->sound->reg_level_decay2); in snd_opl4_update_tone_parameters()
458 voice->sound->reg_release_correction); in snd_opl4_update_tone_parameters()
460 voice->sound->reg_tremolo); in snd_opl4_update_tone_parameters()
487 const struct opl4_sound *sound[2]; in snd_opl4_note_on() local
497 sound[voices] = ®ions->regions[i].sound; in snd_opl4_note_on()
511 voice[i]->sound = sound[i]; in snd_opl4_note_on()
517 (sound[i]->tone >> 8) & OPL4_TONE_NUMBER_BIT8; in snd_opl4_note_on()
521 sound[i]->tone & 0xff); in snd_opl4_note_on()
541 voice[i]->reg_lfo_vibrato = voice[i]->sound->reg_lfo_vibrato; in snd_opl4_note_on()