Lines Matching refs:att
371 int att;
373 att = voice->sound->tone_attenuate;
374 att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f];
375 att += snd_opl4_volume_table[voice->chan->gm_volume & 0x7f];
376 att += snd_opl4_volume_table[voice->chan->gm_expression & 0x7f];
377 att += snd_opl4_volume_table[voice->velocity];
378 att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost;
379 if (att < 0)
380 att = 0;
381 else if (att > 0x7e)
382 att = 0x7e;
384 (att << 1) | voice->level_direct);