Lines Matching defs:sound
37 #include <sound/asoundef.h>
373 att = voice->sound->tone_attenuate;
378 att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost;
390 int pan = voice->sound->panpot;
410 depth = (7 - voice->sound->vibrato)
412 depth = (depth >> 7) + voice->sound->vibrato;
430 pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7);
431 pitch += voice->sound->pitch_offset;
454 voice->sound->reg_attack_decay1);
456 voice->sound->reg_level_decay2);
458 voice->sound->reg_release_correction);
460 voice->sound->reg_tremolo);
487 const struct opl4_sound *sound[2];
497 sound[voices] = ®ions->regions[i].sound;
512 voice[i]->sound = sound[i];
518 (sound[i]->tone >> 8) & OPL4_TONE_NUMBER_BIT8;
522 sound[i]->tone & 0xff);
542 voice[i]->reg_lfo_vibrato = voice[i]->sound->reg_lfo_vibrato;