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

NAME

6       snd_pcm_hw_param_value - return params field var value
7

SYNOPSIS

9       int snd_pcm_hw_param_value(const struct snd_pcm_hw_params * params,
10                                  snd_pcm_hw_param_t var, int * dir);
11

ARGUMENTS

13       params
14           the hw_params instance
15
16       var
17           parameter to retrieve
18
19       dir
20           pointer to the direction (-1,0,1) or NULL
21

RETURN

23       The value for field var if it's fixed in configuration space defined by
24       params. -EINVAL otherwise.
25
27Kernel Hackers Manual 3.10         June 2019           SND_PCM_HW_PARAM_VAL(9)
Impressum