1SND_PCM_HW_PARAM_LAS(9) PCM API SND_PCM_HW_PARAM_LAS(9)
2
3
4
6 snd_pcm_hw_param_last - refine config space and return maximum value
7
9 int snd_pcm_hw_param_last(struct snd_pcm_substream * pcm,
10 struct snd_pcm_hw_params * params,
11 snd_pcm_hw_param_t var, int * dir);
12
14 pcm
15 PCM instance
16
17 params
18 the hw_params instance
19
20 var
21 parameter to retrieve
22
23 dir
24 pointer to the direction (-1,0,1) or NULL
25
27 Inside configuration space defined by params remove from var all values
28 < maximum. Reduce configuration space accordingly.
29
31 The maximum, or a negative error code on failure.
32
34Kernel Hackers Manual 3.10 June 2019 SND_PCM_HW_PARAM_LAS(9)