Lines Matching refs:hw_params
1146 snd_pcm_hw_params_t hw_params = {0}; local
1158 ret = snd_pcm_hw_params_any(spcm, &hw_params);
1163 ret = snd_pcm_hw_params_set_access(spcm, &hw_params,
1166 ret = snd_pcm_hw_params_set_access(spcm, &hw_params,
1176 ret = snd_pcm_hw_params_set_format(spcm, &hw_params,
1195 ret = snd_pcm_hw_params_set_format(spcm, &hw_params,
1203 &hw_params, &format);
1211 ret = INTERNAL(snd_pcm_hw_params_set_channels_near)(spcm, &hw_params,
1217 ret = INTERNAL(snd_pcm_hw_params_set_rate_near)(spcm, &hw_params,
1227 &hw_params, (unsigned int *)¶ms->buffer_time, 0);
1234 &hw_params, (snd_pcm_uframes_t *)¶ms->buffer_size);
1245 &hw_params, (unsigned int *)¶ms->period_time, 0);
1252 &hw_params, (snd_pcm_uframes_t *)¶ms->period_size,
1263 &hw_params, ¶ms->periods, 0);
1282 ret = snd_pcm_hw_params(spcm, &hw_params);
1290 snd_mask_value(hw_param_mask(&hw_params,
1293 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_RATE);
1295 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_BUFFER_SIZE);
1297 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_BUFFER_TIME);
1299 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_PERIOD_SIZE);
1301 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_PERIOD_TIME);
1303 *hw_param_interval(&hw_params, SND_PCM_HW_PARAM_PERIODS);