Searched refs:oparams (Results 1 – 1 of 1) sorted by relevance
3574 struct snd_pcm_hw_params_old *oparams) in snd_pcm_hw_convert_from_old_params() argument3579 params->flags = oparams->flags; in snd_pcm_hw_convert_from_old_params()3580 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_from_old_params()3581 params->masks[i].bits[0] = oparams->masks[i]; in snd_pcm_hw_convert_from_old_params()3582 memcpy(params->intervals, oparams->intervals, sizeof(oparams->intervals)); in snd_pcm_hw_convert_from_old_params()3583 params->rmask = __OLD_TO_NEW_MASK(oparams->rmask); in snd_pcm_hw_convert_from_old_params()3584 params->cmask = __OLD_TO_NEW_MASK(oparams->cmask); in snd_pcm_hw_convert_from_old_params()3585 params->info = oparams->info; in snd_pcm_hw_convert_from_old_params()3586 params->msbits = oparams->msbits; in snd_pcm_hw_convert_from_old_params()3587 params->rate_num = oparams->rate_num; in snd_pcm_hw_convert_from_old_params()[all …]