Home
last modified time | relevance | path

Searched refs:sparams (Results 1 – 6 of 6) sorted by relevance

/hardware/qcom/audio/legacy/libalsa-intf/
Darec.c90 struct snd_pcm_sw_params *sparams; in set_params() local
137 sparams = (struct snd_pcm_sw_params*) calloc(1, sizeof(struct snd_pcm_sw_params)); in set_params()
138 if (!sparams) { in set_params()
142 sparams->tstamp_mode = SNDRV_PCM_TSTAMP_NONE; in set_params()
143 sparams->period_step = 1; in set_params()
146 sparams->avail_min = pcm->period_size/2; in set_params()
147 sparams->xfer_align = pcm->period_size/2; in set_params()
149 sparams->avail_min = pcm->period_size/8; in set_params()
150 sparams->xfer_align = pcm->period_size/8; in set_params()
152 sparams->avail_min = pcm->period_size/12; in set_params()
[all …]
Daplay.c86 struct snd_pcm_sw_params *sparams; in set_params() local
133 sparams = (struct snd_pcm_sw_params*) calloc(1, sizeof(struct snd_pcm_sw_params)); in set_params()
134 if (!sparams) { in set_params()
139 sparams->tstamp_mode = SNDRV_PCM_TSTAMP_NONE; in set_params()
140 sparams->period_step = 1; in set_params()
142 sparams->avail_min = pcm->period_size/(channels * 2) ; in set_params()
143 sparams->start_threshold = pcm->period_size/(channels * 2) ; in set_params()
144 sparams->stop_threshold = pcm->buffer_size ; in set_params()
145 sparams->xfer_align = pcm->period_size/(channels * 2) ; /* needed for old kernels */ in set_params()
147 sparams->silence_size = 0; in set_params()
[all …]
Dalsa_pcm.c343 int param_set_sw_params(struct pcm *pcm, struct snd_pcm_sw_params *sparams) in param_set_sw_params() argument
345 if (ioctl(pcm->fd, SNDRV_PCM_IOCTL_SW_PARAMS, sparams)) { in param_set_sw_params()
348 pcm->sw_p = sparams; in param_set_sw_params()
758 struct snd_pcm_sw_params sparams; in pcm_open() local
Dalsa_audio.h151 int param_set_sw_params(struct pcm *pcm, struct snd_pcm_sw_params *sparams);
/hardware/intel/common/libmix/mix_audio/src/
Dsst_proxy.c57 struct snd_mp3_params *p = &s->sparams.uc.mp3_params; in mix_sst_params_convert_mp3()
75 struct snd_wma_params *p = &s->sparams.uc.wma_params; in mix_sst_params_convert_wma()
114 struct snd_aac_params *p = &s->sparams.uc.aac_params; in mix_sst_params_convert_aac()
298 …mix_sst_params_to_mp3(MIX_AUDIOCONFIGPARAMSMP3(ret), &stream_params->codec_params.sparams.uc.mp3_p… in mix_sst_params_to_acp()
304 …mix_sst_params_to_aac(MIX_AUDIOCONFIGPARAMSAAC(ret), &stream_params->codec_params.sparams.uc.aac_p… in mix_sst_params_to_acp()
310 …mix_sst_params_to_wma(MIX_AUDIOCONFIGPARAMSWMA(ret), &stream_params->codec_params.sparams.uc.wma_p… in mix_sst_params_to_acp()
Dintel_sst_ioctl.h211 struct snd_sst_stream_params sparams; member