Home
last modified time | relevance | path

Searched refs:sample (Results 1 – 18 of 18) sorted by relevance

/sound/core/oss/
A Dmulaw.c157 unsigned char *dst, u16 sample) in cvt_s16_to_native() argument
159 sample ^= data->flip; in cvt_s16_to_native()
161 sample = swab16(sample); in cvt_s16_to_native()
194 signed short sample = ulaw2linear(*src); in mulaw_decode() local
195 cvt_s16_to_native(data, dst, sample); in mulaw_decode()
205 u16 sample = 0; in cvt_native_to_s16() local
209 sample = swab16(sample); in cvt_native_to_s16()
210 sample ^= data->flip; in cvt_native_to_s16()
211 return (signed short)sample; in cvt_native_to_s16()
240 signed short sample = cvt_native_to_s16(data, src); in mulaw_encode() local
[all …]
/sound/soc/generic/
A DMakefile6 snd-soc-audio-graph-card2-custom-sample-y := audio-graph-card2-custom-sample.o
13 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE) += snd-soc-audio-graph-card2-custom-sample.o
A Daudio-graph-card2-custom-sample2.dtsi8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
12 * You can easily use this sample by adding below line on your DT file,
38 * Below sample doesn't use "format" property,
46 audio-graph-card2-custom-sample-2 {
52 compatible = "audio-graph-card2-custom-sample";
53 label = "card2-custom-sample-2";
A Daudio-graph-card2-custom-sample1.dtsi8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
12 * You can easily use this sample by adding below line on your DT file,
38 * Below sample doesn't use "format" property,
46 audio-graph-card2-custom-sample-1 {
52 compatible = "audio-graph-card2-custom-sample";
53 label = "card2-custom-sample-1";
A DKconfig32 tristate "ASoC Audio Graph Card2 base custom sample support"
35 This option enables Audio Graph Card2 base custom sample
/sound/synth/emux/
A Dsoundfont.c656 struct snd_sf_sample *sample; in set_sample() local
658 sample = find_sample(sf, avp->sample); in set_sample()
659 if (sample == NULL) in set_sample()
667 avp->start += sample->v.start; in set_sample()
668 avp->end += sample->v.end; in set_sample()
669 avp->loopstart += sample->v.loopstart; in set_sample()
670 avp->loopend += sample->v.loopend; in set_sample()
675 return sample; in set_sample()
688 if (p->v.sample == sample_id) in find_sample()
1009 smp->v.sample = sample_id; in load_guspatch()
[all …]
A Demux_synth.c102 if (vp->zone->sample) in snd_emux_note_on()
103 vp->block = vp->zone->sample->block; in snd_emux_note_on()
/sound/drivers/
A Dpcmtest.c257 size_t sample; in fill_block_pattern_i() local
263 for (sample = 0; sample < v_iter->s_rw_ch; sample++) { in fill_block_pattern_i()
266 pos_pattern = (pos_in_ch + sample * v_iter->sample_bytes in fill_block_pattern_i()
/sound/pci/emu10k1/
A Demu10k1_patch.c45 sp->v.sample); in snd_emu10k1_sample_new()
A Demupcm.c559 u32 sample, bool stereo) in snd_emu10k1_playback_fill_cache() argument
570 snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample); in snd_emu10k1_playback_fill_cache()
592 u32 sample = w_16 ? 0 : 0x80808080; in snd_emu10k1_playback_prepare_voices() local
603 snd_emu10k1_playback_fill_cache(emu, voice, sample, stereo); in snd_emu10k1_playback_prepare_voices()
/sound/soc/intel/keembay/
A Dkmb_platform.c82 u32 i, j, sample; in hdmi_reformat_iec958() local
90 sample = bitrev32(temp); in hdmi_reformat_iec958()
91 buf[tx_ptr][j] = sample << 4; in hdmi_reformat_iec958()
/sound/pci/cs46xx/
A Ddsp_spos.c329 struct dsp_segment_desc *sample) in dsp_load_sample() argument
333 if (!sample) { in dsp_load_sample()
339 doffset = (sample->offset * 4 + DSP_SAMPLE_BYTE_OFFSET); in dsp_load_sample()
340 dsize = sample->size * 4; in dsp_load_sample()
346 if (snd_cs46xx_download (chip,sample->data,doffset,dsize)) { in dsp_load_sample()
/sound/hda/core/
A Dintel-nhlt.c253 _vbps = cfg->fmt_ext.sample.valid_bits_per_sample; in nhlt_get_specific_cfg()
/sound/soc/fsl/
A DKconfig101 a digital module that converts audio from a source sample rate to a
102 destination sample rate. It is a new design module compare with the
/sound/soc/sunxi/
A Dsun4i-i2s.c88 #define SUN4I_I2S_TX_CHAN_MAP(chan, sample) ((sample) << (chan << 2)) argument
/sound/soc/tegra/
A DKconfig106 sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
/sound/pci/
A DKconfig170 (16bit/8bit, many sample rates [<= 66.2kHz], NO hardware mixing),
195 Higher sample rates won't hurt your hardware, but audio
/sound/soc/codecs/
A DKconfig987 # not select any sample rates that require MCLK to be divided by 1.5.
1350 based boost converter and supports sample rates of
1950 a sample rate converter, including numerous ports.

Completed in 59 milliseconds