Lines Matching defs:avp
56 static void init_voice_info(struct soundfont_voice_info *avp);
59 struct soundfont_voice_info *avp);
613 init_voice_info(struct soundfont_voice_info *avp)
615 memset(avp, 0, sizeof(*avp));
617 avp->root = 60;
618 avp->high = 127;
619 avp->velhigh = 127;
620 avp->fixkey = -1;
621 avp->fixvel = -1;
622 avp->fixpan = -1;
623 avp->pan = -1;
624 avp->amplitude = 127;
625 avp->scaleTuning = 100;
627 init_voice_parm(&avp->parm);
659 set_sample(struct snd_soundfont *sf, struct soundfont_voice_info *avp)
663 sample = find_sample(sf, avp->sample);
672 avp->start += sample->v.start;
673 avp->end += sample->v.end;
674 avp->loopstart += sample->v.loopstart;
675 avp->loopend += sample->v.loopend;
678 avp->sample_mode = sample->v.mode_flags;