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 */
366 * increment sample counter
378 * allocate a new sample list record
397 * delete sample list -- this is an exceptional job.
398 * only the last allocated sample can be deleted.
404 /* only last sample is accepted */
595 /* look up the sample */
596 zone->sample = set_sample(sf, &zone->v);
649 /* search the specified sample */
653 struct snd_sf_sample *sample;
655 sample = find_sample(sf, avp->sample);
656 if (sample == NULL)
659 /* add in the actual sample offsets:
661 * from sample pointers. Here we calculate the actual DRAM
662 * offset from sample pointers.
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;
672 return sample;
675 /* find the sample pointer with the given id in the soundfont */
685 if (p->v.sample == sample_id)
693 * Load sample information, this can include data to be loaded onto
723 if (find_sample(sf, sample_info.sample)) {
724 /* if shared sample, skip this data */
730 /* Allocate a new sample structure */
832 * sample pitch offset for the specified sample rate
971 smp->v.sample = sample_id;
1030 zone->v.sample = sample_id; /* the last sample */
1114 zone->sample = set_sample(sf, &zone->v);
1154 if (! cur->mapped && cur->sample == NULL) {
1155 /* try again to search the corresponding sample */
1156 cur->sample = set_sample(sf, &cur->v);
1157 if (cur->sample == NULL)