snd_pcm_hw_constraint_step(9)
snd_pcm_hw_constraint_step - add a hw constraint step rule
Synopsis
int snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, unsigned long step);Arguments
runtime
- PCM runtime instance
cond
- condition bits
var
- hw_params variable to apply the step constraint
step
- step size
Return
Zero if successful, or a negative error code on failure.