Lines Matching full:avp
45 static void init_voice_info(struct soundfont_voice_info *avp);
48 struct soundfont_voice_info *avp);
608 init_voice_info(struct soundfont_voice_info *avp) in init_voice_info() argument
610 memset(avp, 0, sizeof(*avp)); in init_voice_info()
612 avp->root = 60; in init_voice_info()
613 avp->high = 127; in init_voice_info()
614 avp->velhigh = 127; in init_voice_info()
615 avp->fixkey = -1; in init_voice_info()
616 avp->fixvel = -1; in init_voice_info()
617 avp->fixpan = -1; in init_voice_info()
618 avp->pan = -1; in init_voice_info()
619 avp->amplitude = 127; in init_voice_info()
620 avp->scaleTuning = 100; in init_voice_info()
622 init_voice_parm(&avp->parm); in init_voice_info()
654 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp) in set_sample() argument
658 sample = find_sample(sf, avp->sample); in set_sample()
667 avp->start += sample->v.start; in set_sample()
668 avp->end += sample->v.end; in set_sample()
669 avp->loopstart += sample->v.loopstart; in set_sample()
670 avp->loopend += sample->v.loopend; in set_sample()
673 avp->sample_mode = sample->v.mode_flags; in set_sample()