1SND_PCM_HW_CONSTRAIN(9) PCM API SND_PCM_HW_CONSTRAIN(9)
2
3
4
6 snd_pcm_hw_constraint_pow2 - add a hw constraint power-of-2 rule
7
9 int snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime * runtime,
10 unsigned int cond,
11 snd_pcm_hw_param_t var);
12
14 runtime
15 PCM runtime instance
16
17 cond
18 condition bits
19
20 var
21 hw_params variable to apply the power-of-2 constraint
22
24 Zero if successful, or a negative error code on failure.
25
27Kernel Hackers Manual 3.10 June 2019 SND_PCM_HW_CONSTRAIN(9)