Searched refs:stream_params (Results 1 – 3 of 3) sorted by relevance
262 MixAudioConfigParams *mix_sst_params_to_acp(struct snd_sst_get_stream_params *stream_params) in mix_sst_params_to_acp() argument268 switch (stream_params->codec_params.result) in mix_sst_params_to_acp()293 switch (stream_params->codec_params.codec) in mix_sst_params_to_acp()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()320 MIX_ACP_SAMPLE_FREQ(ret) = stream_params->pcm_params.sfreq; in mix_sst_params_to_acp()321 MIX_ACP_NUM_CHANNELS(ret) = stream_params->pcm_params.num_chan; in mix_sst_params_to_acp()322 mix_sst_set_bps(MIX_AUDIOCONFIGPARAMS(ret), stream_params->pcm_params.pcm_wd_sz); in mix_sst_params_to_acp()
15 MixAudioConfigParams *mix_sst_params_to_acp(struct snd_sst_get_stream_params *stream_params);
2054 struct snd_sst_get_stream_params stream_params = {{0}}; in mix_audio_get_output_configuration_default() local2068 retVal = ioctl(mix->fileDescriptor, SNDRV_SST_STREAM_GET_PARAMS, &stream_params); in mix_audio_get_output_configuration_default()2081 p = mix_sst_params_to_acp(&stream_params); in mix_audio_get_output_configuration_default()