1SND_PCM_HW_CONSTRAIN(9) PCM API SND_PCM_HW_CONSTRAIN(9)
2
3
4
6 snd_pcm_hw_constraint_ratnums - apply ratnums constraint to a parameter
7
9 int snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime * runtime,
10 unsigned int cond,
11 snd_pcm_hw_param_t var,
12 const struct snd_pcm_hw_constraint_ratnums * r);
13
15 runtime
16 PCM runtime instance
17
18 cond
19 condition bits
20
21 var
22 hw_params variable to apply the ratnums constraint
23
24 r
25 struct snd_ratnums constriants
26
28 Zero if successful, or a negative error code on failure.
29
31Kernel Hackers Manual 3.10 June 2019 SND_PCM_HW_CONSTRAIN(9)