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