1SND_PCM_HW_PARAM_VAL(9) PCM API SND_PCM_HW_PARAM_VAL(9)
2
3
4
6 snd_pcm_hw_param_value - return params field var value
7
9 int snd_pcm_hw_param_value(const struct snd_pcm_hw_params * params,
10 snd_pcm_hw_param_t var, int * dir);
11
13 params
14 the hw_params instance
15
16 var
17 parameter to retrieve
18
19 dir
20 pointer to the direction (-1,0,1) or NULL
21
23 Return the value for field var if it´s fixed in configuration space
24 defined by params. Return -EINVAL otherwise.
25
27Kernel Hackers Manual 2.6. June 2019 SND_PCM_HW_PARAM_VAL(9)