Home
last modified time | relevance | path

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

/sound/soc/mid-x86/
Dsst_platform.c220 str_params.sparams = param; in sst_platform_alloc_stream()
557 str_params.sparams.uc.mp3_params.codec = SST_CODEC_TYPE_MP3; in sst_platform_compr_set_params()
558 str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
559 str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
565 str_params.sparams.uc.aac_params.codec = SST_CODEC_TYPE_AAC; in sst_platform_compr_set_params()
566 str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
567 str_params.sparams.uc.aac_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
569 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
572 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
578 str_params.sparams.uc.aac_params.externalsr = in sst_platform_compr_set_params()
Dsst_dsp.h130 struct snd_sst_stream_params sparams; member
Dsst_platform.h109 struct sst_pcm_params sparams; member
/sound/core/oss/
Dpcm_oss.c840 struct snd_pcm_hw_params *params, *sparams; in snd_pcm_oss_change_params() local
855 sparams = kmalloc(sizeof(*sparams), GFP_KERNEL); in snd_pcm_oss_change_params()
856 if (!sw_params || !params || !sparams) { in snd_pcm_oss_change_params()
867 _snd_pcm_hw_params_any(sparams); in snd_pcm_oss_change_params()
868 _snd_pcm_hw_param_setinteger(sparams, SNDRV_PCM_HW_PARAM_PERIODS); in snd_pcm_oss_change_params()
869 _snd_pcm_hw_param_min(sparams, SNDRV_PCM_HW_PARAM_PERIODS, 2, 0); in snd_pcm_oss_change_params()
878 err = snd_pcm_hw_param_mask(substream, sparams, SNDRV_PCM_HW_PARAM_ACCESS, &mask); in snd_pcm_oss_change_params()
884 choose_rate(substream, sparams, runtime->oss.rate); in snd_pcm_oss_change_params()
885 …snd_pcm_hw_param_near(substream, sparams, SNDRV_PCM_HW_PARAM_CHANNELS, runtime->oss.channels, NULL… in snd_pcm_oss_change_params()
889 sformat_mask = *hw_param_mask(sparams, SNDRV_PCM_HW_PARAM_FORMAT); in snd_pcm_oss_change_params()
[all …]