Lines Matching defs:sample

112  * the actual driver to write sample data to the board or whatever
319 /* probe sample in the current list -- nothing to be loaded */
325 /* search the specified sample by optarg */
365 * increment sample counter
377 * allocate a new sample list record
395 * delete sample list -- this is an exceptional job.
396 * only the last allocated sample can be deleted.
402 /* only last sample is accepted */
591 /* look up the sample */
592 zone->sample = set_sample(sf, &zone->v);
645 /* search the specified sample */
649 struct snd_sf_sample *sample;
651 sample = find_sample(sf, avp->sample);
652 if (sample == NULL)
655 /* add in the actual sample offsets:
657 * from sample pointers. Here we calculate the actual DRAM
658 * offset from sample pointers.
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;
668 return sample;
671 /* find the sample pointer with the given id in the soundfont */
681 if (p->v.sample == sample_id)
689 * Load sample information, this can include data to be loaded onto
718 if (find_sample(sf, sample_info.sample)) {
719 /* if shared sample, skip this data */
725 /* Allocate a new sample structure */
826 * sample pitch offset for the specified sample rate
964 smp->v.sample = sample_id;
1022 zone->v.sample = sample_id; /* the last sample */
1106 zone->sample = set_sample(sf, &zone->v);
1146 if (! cur->mapped && cur->sample == NULL) {
1147 /* try again to search the corresponding sample */
1148 cur->sample = set_sample(sf, &cur->v);
1149 if (cur->sample == NULL)