snd_pcm_hw_rule_add — add the hw-constraint rule
int snd_pcm_hw_rule_add
(struct snd_pcm_runtime * runtime, unsigned int cond, int var, snd_pcm_hw_rule_func_t func, void * private, int dep, ...);
the pcm runtime instance
condition bits
the variable to evaluate
the evaluation function
the private data pointer passed to function
the dependent variables
variable arguments
Returns zero if successful, or a negative error code on failure.