Name
snd_pcm_hw_param_set —
Synopsis
int snd_pcm_hw_param_set ( | snd_pcm_t * | pcm, |
| snd_pcm_hw_params_t * | params, |
| snd_pcm_hw_param_t | var, |
| unsigned int | val, |
| int | dir) ; |
Arguments
pcm
PCM instance
params
the hw_params instance
var
parameter to retrieve
val
value to set
dir
pointer to the direction (-1,0,1) or NULL
Description
Inside configuration space defined by PARAMS remove from PAR all
values != VAL. Reduce configuration space accordingly.
Return VAL or -EINVAL if the configuration space is empty