1SND_PCM_HW_CONSTRAIN(9) PCM API SND_PCM_HW_CONSTRAIN(9)
2
3
4
6 snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an
7 interval
8
10 int snd_pcm_hw_constraint_minmax(struct snd_pcm_runtime * runtime,
11 snd_pcm_hw_param_t var,
12 unsigned int min, unsigned int max);
13
15 runtime
16 PCM runtime instance
17
18 var
19 hw_params variable to apply the range
20
21 min
22 the minimal value
23
24 max
25 the maximal value
26
28 Apply the min/max range constraint to an interval parameter.
29
31Kernel Hackers Manual 2.6. June 2019 SND_PCM_HW_CONSTRAIN(9)