Lines Matching full:avp
44 static void init_voice_info(struct soundfont_voice_info *avp);
47 struct soundfont_voice_info *avp);
601 init_voice_info(struct soundfont_voice_info *avp) in init_voice_info() argument
603 memset(avp, 0, sizeof(*avp)); in init_voice_info()
605 avp->root = 60; in init_voice_info()
606 avp->high = 127; in init_voice_info()
607 avp->velhigh = 127; in init_voice_info()
608 avp->fixkey = -1; in init_voice_info()
609 avp->fixvel = -1; in init_voice_info()
610 avp->fixpan = -1; in init_voice_info()
611 avp->pan = -1; in init_voice_info()
612 avp->amplitude = 127; in init_voice_info()
613 avp->scaleTuning = 100; in init_voice_info()
615 init_voice_parm(&avp->parm); in init_voice_info()
647 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp) in set_sample() argument
651 sample = find_sample(sf, avp->sample); in set_sample()
660 avp->start += sample->v.start; in set_sample()
661 avp->end += sample->v.end; in set_sample()
662 avp->loopstart += sample->v.loopstart; in set_sample()
663 avp->loopend += sample->v.loopend; in set_sample()
666 avp->sample_mode = sample->v.mode_flags; in set_sample()