• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/synth/emux/

Lines Matching refs:sample

124  * the actual driver to write sample data to the board or whatever
331 /* probe sample in the current list -- nothing to be loaded */
337 /* search the specified sample by optarg */
377 * increment sample counter
389 * allocate a new sample list record
407 * delete sample list -- this is an exceptional job.
408 * only the last allocated sample can be deleted.
414 /* only last sample is accepted */
603 /* look up the sample */
604 zone->sample = set_sample(sf, &zone->v);
657 /* search the specified sample */
661 struct snd_sf_sample *sample;
663 sample = find_sample(sf, avp->sample);
664 if (sample == NULL)
667 /* add in the actual sample offsets:
669 * from sample pointers. Here we calculate the actual DRAM
670 * offset from sample pointers.
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;
680 return sample;
683 /* find the sample pointer with the given id in the soundfont */
693 if (p->v.sample == sample_id)
701 * Load sample information, this can include data to be loaded onto
730 if (find_sample(sf, sample_info.sample)) {
731 /* if shared sample, skip this data */
737 /* Allocate a new sample structure */
838 * sample pitch offset for the specified sample rate
974 smp->v.sample = sample_id;
1031 zone->v.sample = sample_id; /* the last sample */
1101 zone->sample = set_sample(sf, &zone->v);
1141 if (! cur->mapped && cur->sample == NULL) {
1142 /* try again to search the corresponding sample */
1143 cur->sample = set_sample(sf, &cur->v);
1144 if (cur->sample == NULL)