1SND_PCM_HW_CONSTRAIN(9)             PCM API            SND_PCM_HW_CONSTRAIN(9)
2
3
4

NAME

6       snd_pcm_hw_constraint_ranges - apply list of range constraints to a
7       parameter
8

SYNOPSIS

10       int snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime * runtime,
11                                        unsigned int cond,
12                                        snd_pcm_hw_param_t var,
13                                        const struct snd_pcm_hw_constraint_ranges * r);
14

ARGUMENTS

16       runtime
17           PCM runtime instance
18
19       cond
20           condition bits
21
22       var
23           hw_params variable to apply the list of range constraints
24
25       r
26           ranges
27

DESCRIPTION

29       Apply the list of range constraints to an interval parameter.
30

RETURN

32       Zero if successful, or a negative error code on failure.
33
35Kernel Hackers Manual 3.10         June 2019           SND_PCM_HW_CONSTRAIN(9)
Impressum