Lines Matching refs:hw_params
48 snd_pcm_hw_params_t *hw_params, in set_hw_params() argument
62 err = snd_pcm_hw_params_any(pcm, hw_params); in set_hw_params()
65 err = snd_pcm_hw_params_set_access(pcm, hw_params, access); in set_hw_params()
68 err = snd_pcm_hw_params_set_format(pcm, hw_params, format); in set_hw_params()
72 err = snd_pcm_hw_params_set_subformat(pcm, hw_params, subformat); in set_hw_params()
76 err = snd_pcm_hw_params_set_channels(pcm, hw_params, channels); in set_hw_params()
79 err = INTERNAL(snd_pcm_hw_params_set_rate_near)(pcm, hw_params, rate, 0); in set_hw_params()
82 err = INTERNAL(snd_pcm_hw_params_set_buffer_time_near)(pcm, hw_params, buffer_time, NULL); in set_hw_params()
87 err = INTERNAL(snd_pcm_hw_params_set_periods_near)(pcm, hw_params, &periods, NULL); in set_hw_params()
93 err = INTERNAL(snd_pcm_hw_params_get_period_time)(hw_params, period_time, NULL); in set_hw_params()
98 err = snd_pcm_hw_params_set_period_time(pcm, hw_params, *period_time, 0); in set_hw_params()
104 err = snd_pcm_hw_params(pcm, hw_params); in set_hw_params()
167 snd_pcm_hw_params_t hw_params = {0}; in snd_spcm_init() local
180 err = set_hw_params(pcm, &hw_params, in snd_spcm_init()
221 snd_pcm_hw_params_t hw_params = {0}; in snd_spcm_init_duplex() local
247 err = set_hw_params(pcms[i], &hw_params, in snd_spcm_init_duplex()