1SND_INTERVAL_RANGES(9) PCM API SND_INTERVAL_RANGES(9)
2
3
4
6 snd_interval_ranges - refine the interval value from the list of ranges
7
9 int snd_interval_ranges(struct snd_interval * i, unsigned int count,
10 const struct snd_interval * ranges,
11 unsigned int mask);
12
14 i
15 the interval value to refine
16
17 count
18 the number of elements in the list of ranges
19
20 ranges
21 the ranges list
22
23 mask
24 the bit-mask to evaluate
25
27 Refines the interval value from the list of ranges. When mask is
28 non-zero, only the elements corresponding to bit 1 are evaluated.
29
31 Positive if the value is changed, zero if it's not changed, or a
32 negative error code.
33
35Kernel Hackers Manual 3.10 June 2019 SND_INTERVAL_RANGES(9)