snd_pcm_hw_constraint_list(9)
snd_pcm_hw_constraint_list - apply a list of constraints to a parameter
Synopsis
int snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_list *l);Arguments
runtime
- PCM runtime instance
cond
- condition bits
var
- hw_params variable to apply the list constraint
l
- list
Description
Apply the list of constraints to an interval parameter.
Return
Zero if successful, or a negative error code on failure.