Searched refs:sample (Results 1 - 8 of 8) sorted by relevance

/sound/core/oss/
H A Dmulaw.c157 unsigned char *dst, u16 sample)
159 sample ^= data->flip;
161 sample = swab16(sample);
164 memcpy(dst + data->native_ofs, (char *)&sample + data->copy_ofs,
194 signed short sample = ulaw2linear(*src); local
195 cvt_s16_to_native(data, dst, sample);
205 u16 sample = 0; local
206 memcpy((char *)&sample + data->copy_ofs, src + data->native_ofs,
209 sample
156 cvt_s16_to_native(struct mulaw_priv *data, unsigned char *dst, u16 sample) argument
240 signed short sample = cvt_native_to_s16(data, src); local
[all...]
/sound/synth/emux/
H A Dsoundfont.c124 * 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
661 struct snd_sf_sample *sample; local
[all...]
H A Demux_synth.c115 if (vp->zone->sample)
116 vp->block = vp->zone->sample->block;
821 * 0xE000 is no pitch offset at 44100Hz sample.
/sound/pci/cs46xx/imgs/
H A Dcwcdma.asp117 // get sample
132 // store sample in ALU
139 // store sample in output buffer
/sound/pci/emu10k1/
H A Demu10k1_callback.c267 /* check if sample is finished playing (non-looping only) */
425 unsigned int val, sample;
428 sample = 0x80808080;
430 sample = 0;
436 snd_emu10k1_ptr_write(hw, CDE, ch, sample);
437 snd_emu10k1_ptr_write(hw, CDF, ch, sample);
H A Demu10k1_patch.c35 * allocate a sample block and copy data from userspace
53 snd_printd("emu: rom font for sample %d\n", sp->v.sample);
154 /* add sample pointer */
159 /* loopend -> sample end */
177 /* if no blank loop is attached in the sample, add it */
211 * free a sample block
H A Demupcm.c639 unsigned int voice, stereo, i, ccis, cra = 64, cs, sample; local
646 sample = snd_pcm_format_width(runtime->format) == 16 ? 0 : 0x80808080;
647 ccis = emu10k1_ccis(stereo, sample == 0);
649 cs = (sample == 0) ? (32-ccis) : (64-ccis+1) >> 1;
652 snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample);
654 snd_emu10k1_ptr_write(emu, CD0 + i, voice + 1, sample);
1281 * Need to add mixer control to fix sample rate
/sound/pci/cs46xx/
H A Ddsp_spos.c248 /* default SPDIF input sample rate
327 struct dsp_segment_desc *sample)
331 if (!sample) {
332 snd_printdd("dsp_spos: module got no sample segment\n");
336 doffset = (sample->offset * 4 + DSP_SAMPLE_BYTE_OFFSET);
337 dsize = sample->size * 4;
339 snd_printdd("dsp_spos: downloading sample data to chip (%08x-%08x)\n",
342 if (snd_cs46xx_download (chip,sample->data,doffset,dsize)) {
343 snd_printk(KERN_ERR "dsp_spos: failed to sample data to DSP\n");
374 snd_printdd("dsp_spos: clearing sample are
326 dsp_load_sample(struct snd_cs46xx *chip, struct dsp_segment_desc *sample) argument
[all...]

Completed in 113 milliseconds