Lines Matching defs:att
362 int att;
364 att = voice->sound->tone_attenuate;
365 att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f];
366 att += snd_opl4_volume_table[voice->chan->gm_volume & 0x7f];
367 att += snd_opl4_volume_table[voice->chan->gm_expression & 0x7f];
368 att += snd_opl4_volume_table[voice->velocity];
369 att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost;
370 if (att < 0)
371 att = 0;
372 else if (att > 0x7e)
373 att = 0x7e;
375 (att << 1) | voice->level_direct);