snd_pcm_hw_constraint_minmax —
int snd_pcm_hw_constraint_minmax
(struct snd_pcm_runtime * runtime, snd_pcm_hw_param_t var, unsigned int min, unsigned int max);
PCM runtime instance
hw_params variable to apply the range
the minimal value
the maximal value
Apply the min/max range constraint to an interval parameter.