1SND_PCM_HW_CONSTRAIN(9)          Sound Devices         SND_PCM_HW_CONSTRAIN(9)
2
3
4

NAME

6       snd_pcm_hw_constraint_single - Constrain parameter to a single value
7

SYNOPSIS

9       int snd_pcm_hw_constraint_single(struct snd_pcm_runtime * runtime,
10                                        snd_pcm_hw_param_t var,
11                                        unsigned int val);
12

ARGUMENTS

14       runtime
15           PCM runtime instance
16
17       var
18           The hw_params variable to constrain
19
20       val
21           The value to constrain to
22

RETURN

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)
Impressum