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

NAME

6       snd_pcm_hw_rule_add - add the hw-constraint rule
7

SYNOPSIS

9       int snd_pcm_hw_rule_add(struct snd_pcm_runtime * runtime,
10                               unsigned int cond, int var,
11                               snd_pcm_hw_rule_func_t func, void * private,
12                               int dep, ...);
13

ARGUMENTS

15       runtime
16           the pcm runtime instance
17
18       cond
19           condition bits
20
21       var
22           the variable to evaluate
23
24       func
25           the evaluation function
26
27       private
28           the private data pointer passed to function
29
30       dep
31           the dependent variables
32
33       ...
34           variable arguments
35

DESCRIPTION

37       Returns zero if successful, or a negative error code on failure.
38
40Kernel Hackers Manual 2.6.         June 2019            SND_PCM_HW_RULE_ADD(9)
Impressum