1SND_PCM_HW_CONSTRAIN(9) PCM API SND_PCM_HW_CONSTRAIN(9)
2
3
4
6 snd_pcm_hw_constraint_integer - apply an integer constraint to an
7 interval
8
10 int snd_pcm_hw_constraint_integer(struct snd_pcm_runtime * runtime,
11 snd_pcm_hw_param_t var);
12
14 runtime
15 PCM runtime instance
16
17 var
18 hw_params variable to apply the integer constraint
19
21 Apply the constraint of integer to an interval parameter.
22
24 Positive if the value is changed, zero if it's not changed, or a
25 negative error code.
26
28Kernel Hackers Manual 3.10 June 2019 SND_PCM_HW_CONSTRAIN(9)