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)
607 memset(avp, 0, sizeof(*avp));
609 avp->root = 60;
610 avp->high = 127;
611 avp->velhigh = 127;
612 avp->fixkey = -1;
613 avp->fixvel = -1;
614 avp->fixpan = -1;
615 avp->pan = -1;
616 avp->amplitude = 127;
617 avp->scaleTuning = 100;
619 init_voice_parm(&avp->parm);
651 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp)
655 sample = find_sample(sf, avp->sample);
664 avp->start += sample->v.start;
665 avp->end += sample->v.end;
666 avp->loopstart += sample->v.loopstart;
667 avp->loopend += sample->v.loopend;
670 avp->sample_mode = sample->v.mode_flags;