Lines Matching refs:vol
757 int vol; in calc_volume() local
768 vol = (vp->velocity * main_vol * expression_vol) / (127*127); in calc_volume()
769 vol = vol * vp->reg.amplitude / 127; in calc_volume()
771 LIMITVALUE(vol, 0, 127); in calc_volume()
774 vol = snd_sf_vol_table[vol]; in calc_volume()
780 vol = voltab1[main_vol] + voltab2[vp->velocity]; in calc_volume()
781 vol = (vol * 8) / 3; in calc_volume()
782 vol += vp->reg.attenuation; in calc_volume()
783 vol += ((0x100 - vol) * expressiontab[expression_vol])/128; in calc_volume()
788 vol += snd_sf_vol_table[master_vol]; in calc_volume()
789 vol += port->volume_atten; in calc_volume()
794 vol += fx->val[EMUX_FX_ATTEN]; in calc_volume()
798 LIMITVALUE(vol, 0, 255); in calc_volume()
799 if (vp->avol == vol) in calc_volume()
802 vp->avol = vol; in calc_volume()