Lines Matching refs:avp
44 static void init_voice_info(struct soundfont_voice_info *avp);
47 struct soundfont_voice_info *avp);
605 init_voice_info(struct soundfont_voice_info *avp) in init_voice_info() argument
607 memset(avp, 0, sizeof(*avp)); in init_voice_info()
609 avp->root = 60; in init_voice_info()
610 avp->high = 127; in init_voice_info()
611 avp->velhigh = 127; in init_voice_info()
612 avp->fixkey = -1; in init_voice_info()
613 avp->fixvel = -1; in init_voice_info()
614 avp->fixpan = -1; in init_voice_info()
615 avp->pan = -1; in init_voice_info()
616 avp->amplitude = 127; in init_voice_info()
617 avp->scaleTuning = 100; in init_voice_info()
619 init_voice_parm(&avp->parm); in init_voice_info()
651 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp) in set_sample() argument
655 sample = find_sample(sf, avp->sample); in set_sample()
664 avp->start += sample->v.start; in set_sample()
665 avp->end += sample->v.end; in set_sample()
666 avp->loopstart += sample->v.loopstart; in set_sample()
667 avp->loopend += sample->v.loopend; in set_sample()
670 avp->sample_mode = sample->v.mode_flags; in set_sample()