Lines Matching refs:params
65 struct pcm_params *params;
71 params = pcm_params_get(card, device, i == 0 ? PCM_OUT : PCM_IN);
72 if (params == NULL) {
77 min = pcm_params_get_min(params, PCM_PARAM_RATE);
78 max = pcm_params_get_max(params, PCM_PARAM_RATE);
80 min = pcm_params_get_min(params, PCM_PARAM_CHANNELS);
81 max = pcm_params_get_max(params, PCM_PARAM_CHANNELS);
83 min = pcm_params_get_min(params, PCM_PARAM_SAMPLE_BITS);
84 max = pcm_params_get_max(params, PCM_PARAM_SAMPLE_BITS);
86 min = pcm_params_get_min(params, PCM_PARAM_PERIOD_SIZE);
87 max = pcm_params_get_max(params, PCM_PARAM_PERIOD_SIZE);
89 min = pcm_params_get_min(params, PCM_PARAM_PERIODS);
90 max = pcm_params_get_max(params, PCM_PARAM_PERIODS);
93 pcm_params_free(params);