Lines Matching refs:str_params
99 struct snd_sst_params str_params; in sst_platform_compr_set_params() local
107 memset(&str_params, 0, sizeof(str_params)); in sst_platform_compr_set_params()
110 retval = sst_fill_stream_params(cstream, ctx, &str_params, true); in sst_platform_compr_set_params()
117 str_params.codec = SST_CODEC_TYPE_MP3; in sst_platform_compr_set_params()
118 str_params.sparams.uc.mp3_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
119 str_params.sparams.uc.mp3_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
124 str_params.codec = SST_CODEC_TYPE_AAC; in sst_platform_compr_set_params()
125 str_params.sparams.uc.aac_params.num_chan = params->codec.ch_in; in sst_platform_compr_set_params()
126 str_params.sparams.uc.aac_params.pcm_wd_sz = 16; in sst_platform_compr_set_params()
128 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
131 str_params.sparams.uc.aac_params.bs_format = in sst_platform_compr_set_params()
137 str_params.sparams.uc.aac_params.externalsr = in sst_platform_compr_set_params()
147 str_params.aparams.ring_buf_info[0].addr = in sst_platform_compr_set_params()
149 str_params.aparams.ring_buf_info[0].size = in sst_platform_compr_set_params()
151 str_params.aparams.sg_count = 1; in sst_platform_compr_set_params()
152 str_params.aparams.frag_size = cstream->runtime->fragment_size; in sst_platform_compr_set_params()
159 retval = stream->compr_ops->open(sst->dev, &str_params, &cb); in sst_platform_compr_set_params()