Lines Matching refs:parm
548 struct soundfont_voice_parm *parm; in setup_voice() local
567 parm = &vp->reg.parm; in setup_voice()
570 if (LO_BYTE(parm->modatkhld) >= 0x80 && parm->moddelay >= 0x8000) { in setup_voice()
571 parm->moddelay = 0xbfff; in setup_voice()
572 pitch = (HI_BYTE(parm->pefe) << 4) + vp->apitch; in setup_voice()
576 vp->ftarget = parm->cutoff + LO_BYTE(parm->pefe); in setup_voice()
580 vp->ftarget = parm->cutoff; in setup_voice()
596 if (LO_BYTE(parm->modatkhld) >= 0x80) { in setup_voice()
597 parm->modatkhld &= ~0xff; in setup_voice()
598 parm->modatkhld |= 0x7f; in setup_voice()
604 if (LO_BYTE(parm->volatkhld) >= 0x80 && parm->voldelay >= 0x8000) { in setup_voice()
605 parm->voldelay = 0xbfff; in setup_voice()
610 if (LO_BYTE(parm->volatkhld) >= 0x80) { in setup_voice()
611 parm->volatkhld &= ~0xff; in setup_voice()
612 parm->volatkhld |= 0x7f; in setup_voice()
789 && LO_BYTE(vp->reg.parm.volatkhld) < 0x7d) { in calc_volume()
795 vp->acutoff = (atten * vp->reg.parm.cutoff + 0xa0) >> 7; in calc_volume()
797 vp->acutoff = vp->reg.parm.cutoff; in calc_volume()